Skip to contents

After the statement execution has SUCCEEDED, this request can be used to fetch any chunk by index. Whereas the first chunk with chunk_index=0 is typically fetched with :method:statementexecution/executeStatement or :method:statementexecution/getStatement, this request can be used to fetch subsequent chunks. The response structure is identical to the nested result element described in the :method:statementexecution/getStatement request, and similarly includes the next_chunk_index and next_chunk_internal_link fields for simple iteration through the result set.

Usage

get_statement_execution_result_chunk_n(client, statement_id, chunk_index)

statementExecutionGetStatementResultChunkN(client, statement_id, chunk_index)

Arguments

client

Required. Instance of DatabricksClient()

statement_id

Required. The statement ID is returned upon successfully submitting a SQL statement, and is a required reference for all subsequent calls.

chunk_index

Required. This field has no description yet.