MapReduce服务 MRS-查询SQL结果:响应示例

时间:2023-11-01 16:25:03

响应示例

状态码: 200

查询SQL结果成功

{  "id" : "20190909_011820_00151_xxxxx",  "statement" : "show tables",  "status" : "FINISHED",  "result_location" : "obs://my_bucket/uuid_date/xxxx.csv",  "content" : [ [ "t1", null ], [ null, "t2" ], [ null, "t3" ] ]}

状态码: 400

查询SQL结果失败

{  "error_code" : "MRS.0011",  "message" : "提交SQL到Executor上失败,集群ID为xxxx"}
support.huaweicloud.com/api-mrs/ShowSqlResult.html