statement_execution_results
Creates, updates, deletes, gets or lists a statement_execution_results
resource.
Overview
Name | statement_execution_results |
Type | Resource |
Id | databricks_workspace.dbsql.statement_execution_results |
Fields
The following fields are returned by SELECT
queries:
- getstatementresultchunkn
Successful return; depending on disposition
returns chunks of data either inline, or as links.
Name | Datatype | Description |
---|---|---|
chunk_index | integer | |
data_array | array | |
next_chunk_index | integer | |
next_chunk_internal_link | string | |
row_count | integer | |
row_offset | integer |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
getstatementresultchunkn | select | deployment_name | After 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.
Name | Datatype | Description |
---|---|---|
deployment_name | string | The Databricks Workspace Deployment Name (default: dbc-abcd0123-a1bc) |
SELECT
examples
- getstatementresultchunkn
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;