warehouses_create
Create a new SQL warehouse in Databricks by specifying a name and cluster size. Returns the warehouse ID for immediate use.
Instructions
Create a new SQL warehouse. Returns the created warehouse's id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Warehouse name | |
| cluster_size | Yes | Size of the clusters (e.g. 'Small', 'Medium', 'Large', or a custom size like '2X-Small') | |
| max_num_clusters | No | ||
| min_num_clusters | No | ||
| auto_stop_mins | No | ||
| enable_photon | No | ||
| enable_serverless_compute | No | ||
| warehouse_type | No | PRO | CLASSIC | |
| tags | No | ||
| channel | No | Channel configuration (name, dbsql_version) | |
| spot_instance_policy | No | COST_OPTIMIZED | RELIABILITY_OPTIMIZED | POLICY_UNSPECIFIED | |
| instance_profile_arn | No | ||
| jdbc_url_options | No | ||
| google_service_account | No | ||
| custom_tags | No | ||
| lakehouse_uc_config | No | Lakehouse Unity Catalog config (uc_workspace_id) | |
| query_history_monitoring | No | Query history monitoring config | |
| query_history_table | No | ||
| pipeline_configuration | No | ||
| run_async | No | If true, return immediately; warehouse creation is async |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |