File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -175,6 +175,8 @@ Create a Databricks service principal by following the [Databricks documentation
175175
176176Update spicepod by replacing `databricks_token` with the `databricks_client_id` and `databricks_client_secret` from the Databricks service principal.
177177
178+ # ## mode: delta_lake
179+
178180` ` ` yaml
179181params:
180182 mode: delta_lake
@@ -187,6 +189,32 @@ params:
187189 databricks_aws_endpoint: <endpoint> # If using an S3-compatible service, like Minio
188190` ` `
189191
192+ # ## mode: spark_connect
193+
194+ Pre-requisite : Configure `can attach to` permission for service principal in `Compute` > `Clusters` > `your-test-cluster` > `Permissions`
195+
196+ ` ` ` yaml
197+ params:
198+ mode: spark_connect
199+ databricks_endpoint: <instance-id>.cloud.databricks.com
200+ databricks_client_id: ${env:DATABRICKS_CLIENT_ID}
201+ databricks_client_secret: ${env:DATABRICKS_CLIENT_SECRET}
202+ databricks_cluster_id: ${env:DATABRICKS_CLUSTER_ID}
203+ ` ` `
204+
205+ # ## mode: sql_warehouse
206+
207+ Pre-requisite : Configure `can use` permission for service principal in `SQL Warehouses` > `your-test-sql-warehouse` > `Permissions`
208+
209+ ` ` ` yaml
210+ params:
211+ mode: sql_warehouse
212+ databricks_endpoint: <instance-id>.cloud.databricks.com
213+ databricks_client_id: ${env:DATABRICKS_CLIENT_ID}
214+ databricks_client_secret: ${env:DATABRICKS_CLIENT_SECRET}
215+ databricks_sql_warehouse_id: ${env:DATABRICKS_SQL_WAREHOUSE_ID}
216+ ` ` `
217+
190218# # Step 9. Restart the Spice runtime
191219
192220` ` ` bash
You can’t perform that action at this time.
0 commit comments