Spark バックフィルの事前チェックジョブを作成 (V2)
Spark バックフィルの事前チェックジョブを作成します。対象スキーマ、フィールド、入力サンプル、カラムマッピングを検証しますが、Collection データは変更しません。バックフィルを送信する前に data.precheckReport.passed を確認してください。
POST/v2/projects/{projectId}/jobs/backfill/precheck
https://api.cloud.zilliz.com
shell
export BASE_URL="https://api.cloud.zilliz.com"
パラメータ
Authorizationstringheader必要
認証トークン。
Idempotency-Keystringheader
作成リクエストを繰り返しても冪等となる一意のキーです。
projectIdstringpath必要
プロジェクト ID。
リクエスト・ボディapplication/json
clusterIdstring必要
対象クラスター ID。
dbNamestring必要
データベース名。
collectionNamestring必要
コレクション名。
fieldsarray必要
対象フィールド。
[]fieldsstring
(近日追加予定)
columnMappingobject必要
ソース列から対象列へのマッピング。
resourceSizestring必要
Spark のリソースサイズ。
timeoutSecondsinteger<int64>必要
タイムアウト(秒)。
レスポンス201 Created - application/json
Backfill precheck 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>
経過実行時間(秒)です。アクティブなジョブの場合、この値は現在時刻までで計算されます。