From bdcd22e4ebeabdb097a5716d407451b588e50f76 Mon Sep 17 00:00:00 2001 From: Lennart Kats Date: Wed, 31 Dec 2025 12:20:04 +0100 Subject: [PATCH] Sync pydabs template catalog default with default-python The pydabs template was missing the hive_metastore fallback for the default_catalog property. This caused inconsistent behavior with default-python for non-UC workspaces. The hive_metastore value serves as a sentinel that allows pipeline templates to detect non-UC configurations and comment out the catalog field (which would otherwise be rejected by the DLT API). --- libs/template/templates/pydabs/databricks_template_schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/template/templates/pydabs/databricks_template_schema.json b/libs/template/templates/pydabs/databricks_template_schema.json index 818fe63975..1541e9358a 100644 --- a/libs/template/templates/pydabs/databricks_template_schema.json +++ b/libs/template/templates/pydabs/databricks_template_schema.json @@ -48,7 +48,7 @@ }, "default_catalog": { "type": "string", - "default": "{{default_catalog}}", + "default": "{{if eq (default_catalog) \"\"}}hive_metastore{{else}}{{default_catalog}}{{end}}", "pattern": "^\\w*$", "pattern_match_failure_message": "Invalid catalog name.", "description": "Default catalog for any tables created by this project{{if eq (default_catalog) \"\"}} (leave blank when not using Unity Catalog){{end}}",