db_sql_warehouse_edit | R Documentation |
Edit Warehouse
db_sql_warehouse_edit(
id,
name = NULL,
cluster_size = NULL,
min_num_clusters = NULL,
max_num_clusters = NULL,
auto_stop_mins = NULL,
tags = NULL,
spot_instance_policy = NULL,
enable_photon = NULL,
warehouse_type = NULL,
enable_serverless_compute = NULL,
channel = NULL,
host = db_host(),
token = db_token(),
perform_request = TRUE
)
id |
ID of the SQL warehouse. |
name |
Name of the SQL warehouse. Must be unique. |
cluster_size |
Size of the clusters allocated to the warehouse. One of
|
min_num_clusters |
Minimum number of clusters available when a SQL warehouse is running. The default is 1. |
max_num_clusters |
Maximum number of clusters available when a SQL warehouse is running. If multi-cluster load balancing is not enabled, this is limited to 1. |
auto_stop_mins |
Time in minutes until an idle SQL warehouse terminates
all clusters and stops. Defaults to 30. For Serverless SQL warehouses
( |
tags |
Named list that describes the warehouse. Databricks tags all warehouse resources with these tags. |
spot_instance_policy |
The spot policy to use for allocating instances to clusters. This field is not used if the SQL warehouse is a Serverless SQL warehouse. |
enable_photon |
Whether queries are executed on a native vectorized
engine that speeds up query execution. The default is |
warehouse_type |
Either "CLASSIC" (default), or "PRO" |
enable_serverless_compute |
Whether this SQL warehouse is a Serverless
warehouse. To use a Serverless SQL warehouse, you must enable Serverless SQL
warehouses for the workspace. If Serverless SQL warehouses are disabled for the
workspace, the default is |
channel |
Whether to use the current SQL warehouse compute version or the
preview version. Databricks does not recommend using preview versions for
production workloads. The default is |
host |
Databricks workspace URL, defaults to calling |
token |
Databricks workspace token, defaults to calling |
perform_request |
If |
Modify a SQL warehouse. All fields are optional. Missing fields default to the current values.
Other Warehouse API:
db_sql_global_warehouse_get()
,
db_sql_warehouse_create()
,
db_sql_warehouse_delete()
,
db_sql_warehouse_get()
,
db_sql_warehouse_list()
,
db_sql_warehouse_start()
,
db_sql_warehouse_stop()
,
get_and_start_warehouse()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.