mrs__ShowSqlResultWithJob
Retrieve the SQL query results returned after a SparkSQL or SparkScript job finishes running in an MRS cluster by specifying the cluster, project, and job execution IDs.
Instructions
[MRS] 在MRS集群中查询SparkSql和SparkScript两种类型作业的SQL语句运行完成后返回的查询结果。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cluster_id": "<cluster_id>",
"job_execution_id": "<job_execution_id>",
"project_id": "<project_id>"
},
"name": "mrs__ShowSqlResultWithJob"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster_id | Yes | 集群ID。获取方法,请参见[获取集群ID](https://support.huaweicloud.com/api-mrs/mrs_02_9001.html)。 | |
| project_id | Yes | 项目编号。获取方法,请参见[获取项目ID](https://support.huaweicloud.com/api-mrs/mrs_02_0011.html)。 | |
| job_execution_id | Yes | 作业ID。获取方法,请参见[获取作业ID](https://support.huaweicloud.com/api-mrs/mrs_02_9001.html)。 |