Commit ae7bead
authored
## Changes
This adds the `hive_metastore` fallback for the `default_catalog`
property of the `pydabs` template.
## Why
I asked Claude Code about any template inconsistencies and this is what
it cae up with.
More contetxg: this fallback value serves as a sentinel that allows
pipeline templates to detect non-UC workspace configurations. When
`default_catalog` resolves to `hive_metastore`, the pipeline templates
comment out the catalog field (which would otherwise be rejected by the
DLT API, since it doesn't accept 'hive_metastore' as a catalog name).
See the same logic in default-python here:
https://github.com/databricks/cli/blob/main/libs/template/templates/default-python/databricks_template_schema.json#L51
## Testing
- Tested template initialization with both UC and non-UC configurations
- Ran `make test-update-templates` to regenerate acceptance tests
- Verified `make fmt` and `make lint` pass
1 parent 6e6ae46 commit ae7bead
File tree
1 file changed
+1
-1
lines changed- libs/template/templates/pydabs
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
0 commit comments