From 672e63f4ea00d70ef7f09f9be2740d6f15f4522e Mon Sep 17 00:00:00 2001 From: Lennart Kats Date: Sat, 24 Aug 2024 21:14:04 +0200 Subject: [PATCH 1/2] Use Unity Catalog for pipelines in the default-python template --- .../resources/{{.project_name}}_pipeline.yml.tmpl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libs/template/templates/default-python/template/{{.project_name}}/resources/{{.project_name}}_pipeline.yml.tmpl b/libs/template/templates/default-python/template/{{.project_name}}/resources/{{.project_name}}_pipeline.yml.tmpl index 4b8f74d173..00447fd1bd 100644 --- a/libs/template/templates/default-python/template/{{.project_name}}/resources/{{.project_name}}_pipeline.yml.tmpl +++ b/libs/template/templates/default-python/template/{{.project_name}}/resources/{{.project_name}}_pipeline.yml.tmpl @@ -3,6 +3,11 @@ resources: pipelines: {{.project_name}}_pipeline: name: {{.project_name}}_pipeline + {{- if eq default_catalog ""}} + # catalog: catalog_name + {{- else}} + catalog: {{default_catalog}} + {{- end}} target: {{.project_name}}_${bundle.environment} libraries: - notebook: From f62ee8b118a5953da831cc15aafd7fc18cddf88c Mon Sep 17 00:00:00 2001 From: "Lennart Kats (databricks)" Date: Sat, 21 Sep 2024 08:37:24 +0200 Subject: [PATCH 2/2] Update libs/template/templates/default-python/template/{{.project_name}}/resources/{{.project_name}}_pipeline.yml.tmpl --- .../resources/{{.project_name}}_pipeline.yml.tmpl | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/template/templates/default-python/template/{{.project_name}}/resources/{{.project_name}}_pipeline.yml.tmpl b/libs/template/templates/default-python/template/{{.project_name}}/resources/{{.project_name}}_pipeline.yml.tmpl index 00447fd1bd..bf46904612 100644 --- a/libs/template/templates/default-python/template/{{.project_name}}/resources/{{.project_name}}_pipeline.yml.tmpl +++ b/libs/template/templates/default-python/template/{{.project_name}}/resources/{{.project_name}}_pipeline.yml.tmpl @@ -4,6 +4,7 @@ resources: {{.project_name}}_pipeline: name: {{.project_name}}_pipeline {{- if eq default_catalog ""}} + ## Specify the 'catalog' field to configure this pipeline to make use of Unity Catalog: # catalog: catalog_name {{- else}} catalog: {{default_catalog}}