databricks-cli/libs/template/templates/default-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/{{.project_name}} Always prepend bundle remote paths with /Workspace (#1724) 2024-10-02 15:34:00 +00:00
README.md Add an experimental default-sql template (#1051) 2024-02-19 12:01:11 +00:00
databricks_template_schema.json Remove reference to "dbt" in the default-sql template (#1696) 2024-08-19 15:47:18 +00:00

README.md

sql template

This folder provides a template for using SQL with Databricks Asset Bundles.