|
7 | 7 | target: dev # default target |
8 | 8 | outputs: |
9 | 9 |
|
10 | | - # Doing local development with the dbt CLI? |
11 | | - # Then you should create your own profile in your .dbt/profiles.yml using 'dbt init' |
12 | | - # (See README.md) |
| 10 | + # Doing local development with the dbt CLI? |
| 11 | + # Then you should create your own profile in your .dbt/profiles.yml using 'dbt init' |
| 12 | + # (See README.md) |
13 | 13 |
|
14 | | - # The default target when deployed with the Databricks CLI |
15 | | - # N.B. when you use dbt from the command line, it uses the profile from .dbt/profiles.yml |
16 | | - dev: |
17 | | - type: databricks |
18 | | - method: http |
19 | | - catalog: {{$catalog}} |
| 14 | + # The default target when deployed with the Databricks CLI |
| 15 | + # N.B. when you use dbt from the command line, it uses the profile from .dbt/profiles.yml |
| 16 | + dev: |
| 17 | + type: databricks |
| 18 | + method: http |
| 19 | + catalog: {{$catalog}} |
20 | 20 | {{- if (regexp "^yes").MatchString .personal_schemas}} |
21 | | - schema: "{{"{{"}} var('dev_schema') {{"}}"}}" |
| 21 | + schema: "{{"{{"}} var('dev_schema') {{"}}"}}" |
22 | 22 | {{- else}} |
23 | | - schema: "{{.shared_schema}}" |
| 23 | + schema: "{{.shared_schema}}" |
24 | 24 | {{- end}} |
25 | 25 |
|
26 | | - http_path: {{.http_path}} |
| 26 | + http_path: {{.http_path}} |
27 | 27 |
|
28 | | - # The workspace host / token are provided by Databricks |
29 | | - # see databricks.yml for the workspace host used for 'dev' |
30 | | - host: "{{"{{"}} env_var('DBT_HOST') {{"}}"}}" |
31 | | - token: "{{"{{"}} env_var('DBT_ACCESS_TOKEN') {{"}}"}}" |
| 28 | + # The workspace host / token are provided by Databricks |
| 29 | + # see databricks.yml for the workspace host used for 'dev' |
| 30 | + host: "{{"{{"}} env_var('DBT_HOST') {{"}}"}}" |
| 31 | + token: "{{"{{"}} env_var('DBT_ACCESS_TOKEN') {{"}}"}}" |
32 | 32 |
|
33 | | - # The production target when deployed with the Databricks CLI |
34 | | - prod: |
35 | | - type: databricks |
36 | | - method: http |
37 | | - catalog: {{$catalog}} |
38 | | - schema: {{.shared_schema}} |
| 33 | + # The production target when deployed with the Databricks CLI |
| 34 | + prod: |
| 35 | + type: databricks |
| 36 | + method: http |
| 37 | + catalog: {{$catalog}} |
| 38 | + schema: {{.shared_schema}} |
39 | 39 |
|
40 | | - http_path: {{.http_path}} |
| 40 | + http_path: {{.http_path}} |
41 | 41 |
|
42 | | - # The workspace host / token are provided by Databricks |
43 | | - # see databricks.yml for the workspace host used for 'prod' |
44 | | - host: "{{"{{"}} env_var('DBT_HOST') {{"}}"}}" |
45 | | - token: "{{"{{"}} env_var('DBT_ACCESS_TOKEN') {{"}}"}}" |
| 42 | + # The workspace host / token are provided by Databricks |
| 43 | + # see databricks.yml for the workspace host used for 'prod' |
| 44 | + host: "{{"{{"}} env_var('DBT_HOST') {{"}}"}}" |
| 45 | + token: "{{"{{"}} env_var('DBT_ACCESS_TOKEN') {{"}}"}}" |
0 commit comments