Cancel SQL Query
db_sql_exec_cancel(
statement_id,
host = db_host(),
token = db_token(),
perform_request = TRUE
)
String, query execution statement_id
Databricks workspace URL, defaults to calling db_host()
.
Databricks workspace token, defaults to calling db_token()
.
If TRUE
(default) the request is performed, if
FALSE
the httr2 request is returned without being performed.
Requests that an executing statement be canceled. Callers must poll for status to see the terminal state.
Other SQL Execution APIs:
db_sql_exec_query()
,
db_sql_exec_result()
,
db_sql_exec_status()