Skip to content

Commit

Permalink
Update databricks-configs.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mirnawong1 authored Sep 9, 2024
1 parent 0f86128 commit 564b11a
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions website/docs/reference/resource-configs/databricks-configs.md
Original file line number Diff line number Diff line change
Expand Up @@ -410,43 +410,43 @@ To take advantage of this capability, you will need to add compute blocks to you

```yaml

<profile-name>:
target: <target-name> # this is the default target
profile-name:
target: target-name # this is the default target
outputs:
<target-name>:
target-name:
type: databricks
catalog: [optional catalog name if you are using Unity Catalog]
schema: [schema name] # Required
host: [yourorg.databrickshost.com] # Required
catalog: optional catalog name if you are using Unity Catalog
schema: schema name # Required
host: yourorg.databrickshost.com # Required

### This path is used as the default compute
http_path: [/sql/your/http/path] # Required
http_path: /sql/your/http/path # Required

### New compute section
compute:

### Name that you will use to refer to an alternate compute
Compute1:
http_path: ['/sql/your/http/path'] # Required of each alternate compute
http_path: '/sql/your/http/path' # Required of each alternate compute

### A third named compute, use whatever name you like
Compute2:
http_path: ['/some/other/path'] # Required of each alternate compute
http_path: '/some/other/path' # Required of each alternate compute
...

<target-name>: # additional targets
target-name: # additional targets
...
### For each target, you need to define the same compute,
### but you can specify different paths
compute:

### Name that you will use to refer to an alternate compute
Compute1:
http_path: ['/sql/your/http/path'] # Required of each alternate compute
http_path: '/sql/your/http/path' # Required of each alternate compute

### A third named compute, use whatever name you like
Compute2:
http_path: ['/some/other/path'] # Required of each alternate compute
http_path: '/some/other/path' # Required of each alternate compute
...

```
Expand Down

0 comments on commit 564b11a

Please sign in to comment.