db_sql_exec_result {brickster} | R Documentation |
Get SQL Query Results
Description
Get SQL Query Results
Usage
db_sql_exec_result(
statement_id,
chunk_index,
host = db_host(),
token = db_token(),
perform_request = TRUE
)
Arguments
statement_id |
String, query execution |
chunk_index |
Integer, chunk index to fetch result. Starts from |
host |
Databricks workspace URL, defaults to calling |
token |
Databricks workspace token, defaults to calling |
perform_request |
If |
Details
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
db_sql_exec_result()
or db_sql_exec_status()
, this request can be used
to fetch subsequent chunks
The response structure is identical to the nested result element described
in the db_sql_exec_result()
request, and similarly includes the
next_chunk_index
and next_chunk_internal_link
fields for simple
iteration through the result set.
Read more on Databricks API docs
See Also
Other SQL Execution APIs:
db_sql_exec_cancel()
,
db_sql_exec_query()
,
db_sql_exec_status()