Skip to contents

Updates the configuration for a SQL warehouse.

Usage

edit_warehouse(
  client,
  id,
  auto_stop_mins = NULL,
  channel = NULL,
  cluster_size = NULL,
  creator_name = NULL,
  enable_photon = NULL,
  enable_serverless_compute = NULL,
  instance_profile_arn = NULL,
  max_num_clusters = NULL,
  min_num_clusters = NULL,
  name = NULL,
  spot_instance_policy = NULL,
  tags = NULL,
  warehouse_type = NULL
)

warehousesEdit(
  client,
  id,
  auto_stop_mins = NULL,
  channel = NULL,
  cluster_size = NULL,
  creator_name = NULL,
  enable_photon = NULL,
  enable_serverless_compute = NULL,
  instance_profile_arn = NULL,
  max_num_clusters = NULL,
  min_num_clusters = NULL,
  name = NULL,
  spot_instance_policy = NULL,
  tags = NULL,
  warehouse_type = NULL
)

Arguments

client

Required. Instance of DatabricksClient()

id

Required. Required.

auto_stop_mins

The amount of time in minutes that a SQL warehouse must be idle (i.e., no RUNNING queries) before it is automatically stopped.

channel

Channel Details.

cluster_size

Size of the clusters allocated for this warehouse.

creator_name

warehouse creator name.

enable_photon

Configures whether the warehouse should use Photon optimized clusters.

enable_serverless_compute

Configures whether the warehouse should use serverless compute.

instance_profile_arn

Deprecated.

max_num_clusters

Maximum number of clusters that the autoscaler will create to handle concurrent queries.

min_num_clusters

Minimum number of available clusters that will be maintained for this SQL warehouse.

name

Logical name for the cluster.

spot_instance_policy

Configurations whether the warehouse should use spot instances.

tags

A set of key-value pairs that will be tagged on all resources (e.g., AWS instances and EBS volumes) associated with this SQL warehouse.

warehouse_type

Warehouse type: PRO or CLASSIC.