databricks-cli/libs/template/templates/dbt-sql
Andrew Nester a8cff48c0b
Always prepend bundle remote paths with /Workspace (#1724)
## Changes
Due to platform changes, all libraries, notebooks and etc. paths used in
Databricks must be started with either /Workspace or /Volumes prefix.

This PR makes sure that all bundle paths are correctly prefixed.

Note: this change is a breaking change if user previously configured and
used `/Workspace/Workspace` folder in their workspace file system or
having `/Workspace/${workspace.root_path}...` pattern configured
anywhere in their bundle config

Fixes: #1751

AI:
- [x] Scan DABs config and error out on
`/Workspace/${workspace.root_path}...` pattern usage

## Tests
Added unit tests

---------

Co-authored-by: Pieter Noordhuis <pieter.noordhuis@databricks.com>
2024-10-02 15:34:00 +00:00
..
library Update templates to latest LTS DBR (#1715) 2024-08-30 07:32:10 +00:00
template Always prepend bundle remote paths with /Workspace (#1724) 2024-10-02 15:34:00 +00:00
README.md Add an experimental dbt-sql template (#1059) 2024-02-19 09:15:17 +00:00
databricks_template_schema.json Copy-editing for SQL templates (#1474) 2024-06-05 11:13:32 +00:00

README.md

dbt template

This folder provides a template for using dbt-core with Databricks Asset Bundles. It leverages dbt-core for local development and relies on Databricks Asset Bundles for deployment (either manually or with CI/CD). In production, dbt is executed using Databricks Workflows.