MapReduce服务 MRS-获取SQL结果:响应示例

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

响应示例

状态码: 202

获取SQL结果成功

{  "sql_results" : {    "0" : [ {      "result" : "succeed"    } ],    "1" : [ {      "database" : "default",      "isTemporary" : "false",      "tableName" : "src_wordcount"    } ],    "2" : [ {      "result" : "succeed"    } ],    "3" : [ {      "result" : "succeed"    } ],    "4" : [ {      "name" : "a",      "id" : 1    }, {      "name" : "b",      "id" : 2    } ]  }}

状态码: 500

收集SQL作业结果失败

{  "error_msg" : "收集SQL作业结果失败",  "error_code" : "0172"}
support.huaweicloud.com/api-mrs/ShowSqlResultWithJob.html