Update a SQL Query
db_query_update(
id,
warehouse_id = NULL,
query_text = NULL,
display_name = NULL,
description = NULL,
catalog = NULL,
schema = NULL,
parent_path = NULL,
run_as_mode = NULL,
apply_auto_limit = NULL,
auto_resolve_display_name = NULL,
tags = NULL,
host = db_host(),
token = db_token(),
perform_request = TRUE
)
Query id
description
Text of the query to be run.
Display name of the query that appears in list views, widget headings, and on the query page.
General description that conveys additional information about this query such as usage notes.
Name of the catalog where this query will be executed.
Name of the schema where this query will be executed.
Workspace path of the workspace folder containing the object.
Sets the "Run as" role for the object.
Whether to apply a 1000 row limit to the query result.
Automatically resolve query display name conflicts. Otherwise, fail the request if the query's display name conflicts with an existing query's display name.
Named list that describes the warehouse. Databricks tags all warehouse resources with these tags.
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.
Other SQL Queries API:
db_query_create()
,
db_query_delete()
,
db_query_get()
,
db_query_list()