11# dbt_sql
22
33The 'dbt_sql' project was generated by using the dbt template for
4- Databricks Asset Bundles. It follows the standard dbt project structure
4+ Declarative Automation Bundles. It follows the standard dbt project structure
55and has an additional ` resources ` directory to define Databricks resources such as jobs
66that run dbt models.
77
88* Learn more about dbt and its standard project structure here: https://docs.getdbt.com/docs/build/projects .
9- * Learn more about Databricks Asset Bundles here: https://docs.databricks.com/en/dev-tools/bundles/index.html
9+ * Learn more about Declarative Automation Bundles here: https://docs.databricks.com/en/dev-tools/bundles/index.html
1010
1111The remainder of this file includes instructions for local development (using dbt)
12- and deployment to production (using Databricks Asset Bundles).
12+ and deployment to production (using Declarative Automation Bundles).
1313
1414## Development setup
1515
@@ -88,20 +88,20 @@ $ dbt test
8888
8989## Production setup
9090
91- Your production dbt profiles are defined in dbt_profiles/profiles.yml.
92- These profiles define the default catalog, schema, and any other
91+ Your production dbt profiles are defined in ` dbt_profiles/profiles.yml` .
92+ These profiles define the default warehouse, catalog, schema, and any other
9393target-specific settings. Read more about dbt profiles on Databricks at
9494https://docs.databricks.com/en/workflows/jobs/how-to/use-dbt-in-workflows.html#advanced-run-dbt-with-a-custom-profile.
9595
96- The target workspaces for staging and prod are defined in databricks.yml.
96+ The target workspaces for staging and prod are defined in ` databricks.yml` .
9797You can manually deploy based on these configurations (see below).
9898Or you can use CI/CD to automate deployment. See
9999https://docs.databricks.com/dev-tools/bundles/ci-cd.html for documentation
100100on CI/CD setup.
101101
102- ## Manually deploying to Databricks with Databricks Asset Bundles
102+ ## Manually deploying to Databricks with Declarative Automation Bundles
103103
104- Databricks Asset Bundles can be used to deploy to Databricks and to execute
104+ Declarative Automation Bundles can be used to deploy to Databricks and to execute
105105dbt commands as a job using Databricks Workflows. See
106106https://docs.databricks.com/dev-tools/bundles/index.html to learn more.
107107
@@ -120,7 +120,7 @@ For example, the default template would deploy a job called
120120You can find that job by opening your workpace and clicking on **Workflows**.
121121
122122You can also deploy to your production target directly from the command-line.
123- The warehouse, catalog, and schema for that target are configured in databricks .yml.
123+ The warehouse, catalog, and schema for that target are configured in `dbt_profiles/profiles .yml` .
124124When deploying to this target, note that the default job at resources/dbt_sql.job.yml
125125has a schedule set that runs every day. The schedule is paused when deploying in development mode
126126(see https://docs.databricks.com/dev-tools/bundles/deployment-modes.html).
0 commit comments