Skip to main content

statement_execution_results

Creates, updates, deletes, gets or lists a statement_execution_results resource.

Overview

Namestatement_execution_results
TypeResource
Iddatabricks_workspace.dbsql.statement_execution_results

Fields

The following fields are returned by SELECT queries:

Successful return; depending on disposition returns chunks of data either inline, or as links.

NameDatatypeDescription
chunk_indexinteger
data_arrayarray
next_chunk_indexinteger
next_chunk_internal_linkstring
row_countinteger
row_offsetinteger

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getstatementresultchunknselectdeployment_nameAfter the statement execution has

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
deployment_namestringThe Databricks Workspace Deployment Name (default: dbc-abcd0123-a1bc)

SELECT examples

After the statement execution has

SELECT
chunk_index,
data_array,
next_chunk_index,
next_chunk_internal_link,
row_count,
row_offset
FROM databricks_workspace.dbsql.statement_execution_results
WHERE deployment_name = '{{ deployment_name }}' -- required;