mirror of https://github.com/databricks/cli.git
Fix pipeline in default-python template not working for certain workspaces (#1854)
Change the default-python template to not set the `catalog` field for the pipeline for workspaces that set `hive_metastore` as the default catalog. The Pipelines service currently returns an error when that value is used for the `catalog` field. This is the most simple fix for this issue, which was reported by a customer. As a followup, we should look at whether we want to prompt for a catalog instead, possibly just for this specific scenario.
This commit is contained in:
parent
3bab21e72e
commit
60c153c0e7
|
@ -3,7 +3,7 @@ resources:
|
||||||
pipelines:
|
pipelines:
|
||||||
{{.project_name}}_pipeline:
|
{{.project_name}}_pipeline:
|
||||||
name: {{.project_name}}_pipeline
|
name: {{.project_name}}_pipeline
|
||||||
{{- if eq default_catalog ""}}
|
{{- if or (eq default_catalog "") (eq default_catalog "hive_metastore")}}
|
||||||
## Specify the 'catalog' field to configure this pipeline to make use of Unity Catalog:
|
## Specify the 'catalog' field to configure this pipeline to make use of Unity Catalog:
|
||||||
# catalog: catalog_name
|
# catalog: catalog_name
|
||||||
{{- else}}
|
{{- else}}
|
||||||
|
|
Loading…
Reference in New Issue