メインコンテンツまでスキップ

Spark バックフィルジョブを作成 (V2)

Spark バックフィルジョブを作成します。プロジェクトは projectId パスパラメーターで指定します。

POST/v2/projects/{projectId}/jobs/backfill
接続エンドポイント

https://api.cloud.zilliz.com

shell
export BASE_URL="https://api.cloud.zilliz.com"
パラメータ
Authorizationstringheader必要

認証トークン。

Idempotency-Keystringheader

作成リクエストを繰り返しても冪等となる一意のキーです。

projectIdstringpath必要

プロジェクト ID。

リクエスト・ボディ
clusterIdstring必要

対象クラスター ID。

dbNamestring必要

データベース名。

collectionNamestring必要

コレクション名。

fieldsarray必要

対象フィールド。

[]fieldsstring
(近日追加予定)
columnMappingobject必要

ソース列から対象列へのマッピング。

modestring必要

バックフィルモード。

resourceSizestring必要

Spark のリソースサイズ。

timeoutSecondsinteger<int64>必要

タイムアウト(秒)。

レスポンス

Backfill job created.

jobIdstring必要

コントロールプレーンのジョブ ID です。

projectIdstring必要

ジョブが属するプロジェクトの ID。

typestring必要

ジョブタイプです。Sparkジョブの場合、値は SPARK です。

descriptionstring

ジョブの説明。

statusstring必要

Spark バッチジョブのステータスです。

regionIdstring必要

Sparkジョブが実行されるクラウドリージョンです。

clusterIdstring

Sparkジョブに関連付けられた Zilliz Cloudクラスターです。

createdAtstring

Sparkジョブが作成された時刻です。

startedAtstring

Sparkジョブの実行が開始された時刻です。ジョブの開始前は、このフィールドが存在しない場合があります。

finishedAtstring

Sparkジョブが終了ステータスに達した時刻です。アクティブなジョブでは、このフィールドが存在しない場合があります。

durationSecondsinteger<int64>

経過実行時間(秒)です。アクティブなジョブの場合、この値は現在時刻までで計算されます。