All Products
Search
Document Center

AnalyticDB:SparkBatchSQL

Last Updated:Aug 28, 2026

Parameter

Type

Description

Example

object

The response structure of SparkBatchSQL.

QueryId

string

The query ID.

sq172352176****

QueryState

string

The execution status of the query. Valid values:

  • FAILED

  • RUNNING

  • CANCELED

  • PENDING

  • SUBMITTED

  • FINISHED

RUNNING

QuerySubmissionTime

integer

The submission timestamp of the query.

1723521767000

QueryStartTime

integer

The execution start timestamp of the query.

1723521767000

QueryEndTime

integer

The execution end timestamp of the query.

1723521767000

Schema

string

The database used for query execution.

default

Uid

integer

The Alibaba Cloud account ID.

2198002412336****

DBClusterId

string

The cluster ID.

amv-bp17s73f016****

ResourceGroupName

string

The name of the resource group.

spark_rg

Query

string

The SQL query text.

SELECT * FROM db.tb

Statements

array

The execution results of the SQL statements.

SparkBatchSQLStatement

The SQL statement details.

ErrMessage

string

The error message returned if the query fails.

schema is not found