Spark SQL 文の実行をキャンセルします。
操作説明
リージョンパブリックアクセスアドレス:
adb.<region-id>.aliyuncs.com。例:adb.cn-hangzhou.aliyuncs.com。リージョン VPC アクセスアドレス:
adb-vpc.<region-id>.aliyuncs.com。例:adb-vpc.cn-hangzhou.aliyuncs.com。
中国 (青島)、中国 (深セン)、中国 (広州)、中国 (香港) からリクエストを開始したときに 409 エラーが発生した場合は、技術サポートにお問い合わせください。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
adb:CancelSparkWarehouseBatchSQL |
update |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| QueryId |
string |
必須 |
Spark SQL 文のクエリ ID。 |
sq202501011001s**** |
| DBClusterId |
string |
任意 |
クラスター ID。 |
amv-uf6485635f*** |
| Agency |
string |
任意 |
クライアントの名前。最大 16 文字です。識別しやすいように、わかりやすい名前を指定してください。 |
DMS |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンスパラメーター。 |
||
| RequestId |
string |
リクエスト ID。 |
771C5FAA-530F-52F7-B84D-EBAD45*** |
| Data | SparkBatchSQL |
返されたデータ。 |
123 |
例
成功レスポンス
JSONJSON
{
"RequestId": "771C5FAA-530F-52F7-B84D-EBAD45***",
"Data": {
"QueryId": "sq172352176****",
"QueryState": "RUNNING",
"QuerySubmissionTime": 1723521767000,
"QueryStartTime": 1723521767000,
"QueryEndTime": 1723521767000,
"Schema": "default",
"Uid": 0,
"DBClusterId": "amv-bp17s73f016****",
"ResourceGroupName": "spark_rg",
"Query": "SELECT * FROM db.tb",
"Statements": [
{
"ResultUri": "oss://yourbucket/result.json",
"EndTime": 1723521767000,
"AppId": "s20240122jsdx****",
"StatementId": "sq1723521767****-0001",
"State": "RUNNING",
"StartTime": 1723521767000,
"Error": "table is not found",
"Code": "SELECT 100",
"Result": "+---+-----+\n|age| name|\n+---+-----+\n| 14| Tom|\n| 23|Alice|\n+---+-----+"
}
],
"ErrMessage": "schema is not found"
}
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | Spark.SQL.NotFoundExecutableSQLError | No executable statements are submitted. Please check the input SQL. | |
| 400 | Spark.SQL.BlankError | Input sql can not be blank string. | |
| 400 | Spark.InvalidParameter | Invalid parameter value: %s | |
| 400 | Spark.InvalidState | The object of the operation is in an invalid state: %s | |
| 500 | Spark.ServerError | The Spark control component system encountered an error, please create a ticket to solve the problem or concat the supported engineer on duty. Error message: %s | |
| 404 | Spark.App.NotFound | The Spark application %s is not found. | |
| 404 | Spark.ObjectNotFound | The object is not found. More information: %s |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。