On this page

Show all

Help Center/ Data Lake Insight/ FAQs/ SDKs/ How Do I Set the Timeout Duration for Querying SQL Job Results Using SDK?

How Do I Set the Timeout Duration for Querying SQL Job Results Using SDK?

Updated on 2022-09-20 GMT+08:00

When you query the SQL job results using SDK, the system checks the job status when the job is submitted. The timeout interval set in the system is 300s. If the job is not in the FINISHED state, a timeout error is reported after 300s.

You are advised to use getJobId() to obtain the job ID and then call queryJobResultInfo(String jobId) or cancelJob(String jobId) to obtain the result or cancel the job.

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback