数据探查查询结果接口
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| inst_id | Number | 必须 | 123 | 探查任务实例接口 | |
| sso_ticket | String | 必须 | 0a44ee7b1c994bea953ce186cedbb006a3415700 | 从登录态创建的ssoTicket | |
| app_code | String | 必须 | 1b7d1e7c9cd94274a04e833713a3b575 | 调用方的buc.app-code, 注意区分日常和线上环境 |
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| data | ExplorateResultVO | 返回数据 | |
|
|||
| success2 | Boolean | true | 是否成功 |
| error_code2 | Number | 0 | 错误码 |
| cause | String | null | 出错原因 |
| message2 | String | null | 出错信息 |
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaDtOnecompareExplorateResultRequest req = new AlibabaDtOnecompareExplorateResultRequest();
req.setInstId(123L);
req.setSsoTicket("0a44ee7b1c994bea953ce186cedbb006a3415700");
req.setAppCode("1b7d1e7c9cd94274a04e833713a3b575");
AlibabaDtOnecompareExplorateResultResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
<alibaba_dt_onecompare_explorate_result_response>
<data>
<rules>
<exploration_rule_v_o>
<subjects>""</subjects>
<result>""</result>
<rule_id>1</rule_id>
<project_id>4603</project_id>
<inst_id>1</inst_id>
<start_time>""</start_time>
<end_time>""</end_time>
<rule_name>""</rule_name>
<status>""</status>
<flags>""</flags>
<gmt_create>""</gmt_create>
<gmt_modified>""</gmt_modified>
</exploration_rule_v_o>
</rules>
<inst_vo>
<sql_constent>""</sql_constent>
<table_name>""</table_name>
<partition>""</partition>
<data_read_mode>""</data_read_mode>
<where_filter>""</where_filter>
<inst_id>1</inst_id>
<inst_name>""</inst_name>
<job_id>1</job_id>
<job_name>""</job_name>
<project_id>1</project_id>
<project_name>""</project_name>
<instance_status>""</instance_status>
<instance_start_time>""</instance_start_time>
<instance_end_time>""</instance_end_time>
<run_partition>""</run_partition>
<exec_host>""</exec_host>
<err_msg>""</err_msg>
<gmt_create>""</gmt_create>
<gmt_modified>""</gmt_modified>
<run_project>""</run_project>
<sampling_rate>1</sampling_rate>
<run_user_info>
<simple_user>
<emp_id>""</emp_id>
<emp_name>""</emp_name>
</simple_user>
</run_user_info>
</inst_vo>
<command_vo_s>
<command_v_o>
<command_id>1</command_id>
<content>""</content>
<status>""</status>
<job_id>1</job_id>
<inst_id>1</inst_id>
<rule_id>1</rule_id>
<command_type>""</command_type>
<command_instance_id>""</command_instance_id>
<log_view_url>""</log_view_url>
<running_log>""</running_log>
<gmt_create>""</gmt_create>
<gmt_modified>""</gmt_modified>
<exploration_rule>""</exploration_rule>
<origin>""</origin>
<explorate_job_id>1</explorate_job_id>
<explorate_inst_id>1</explorate_inst_id>
<explorate_rule_id>1</explorate_rule_id>
<realtime_job_id>1</realtime_job_id>
<realtime_inst_id>1</realtime_inst_id>
<realtime_rule_id>1</realtime_rule_id>
<indicator_job_id>1</indicator_job_id>
<indicator_inst_id>1</indicator_inst_id>
<indicator_rule_id>1</indicator_rule_id>
</command_v_o>
</command_vo_s>
</data>
<success2>true</success2>
<error_code2>0</error_code2>
<cause>null</cause>
<message2>null</message2>
</alibaba_dt_onecompare_explorate_result_response>
<error_response>
<code>50</code>
<msg>Remote service error</msg>
<sub_code>isv.invalid-parameter</sub_code>
<sub_msg>非法参数</sub_msg>
</error_response>
| 错误码 | 错误描述 | 解决方案 |
|---|