Describe the issue
Change in workspace access settings of a catalog created with PyDABs triggers resource recreation in next deployment. At the same time, for YAML defined catalogs, changes to workspace settings are ignored (not updated) in deployment.
Behaviour should be identical.
In my opinion PyDABs should match existing YAML behaviour until isolation_mode -field discussed in #5183 is fully supported (i.e. you can define which workspaces have access) since otherwise single metastore multi-workspace setups cannot manage catalogs using DABs when isolation between workspaces in needed.
Configuration
from databricks.bundles.catalogs import Catalog
pydabs_catalog = Catalog.from_dict({"name": "pydabs_catalog", "storage_root": "<storage_url>"})
resources:
catalogs:
yaml_catalog:
name: yaml_catalog
storage_root: <storage_url>
Steps to reproduce the behavior
Please list the steps required to reproduce the issue, for example:
- Run
databricks bundle deploy ...
- By default catalogs are accessible from all workspaces → change workspace access so that only the workspace used for deployment has access.
- Redeploy.
Expected Behavior
Either both catalogs are:
- recreated.
- updated so that workspace access settings match initial "All workspaces have access" state.
- left untouched (changes to workspace access settings are ignored).
Actual Behavior
DABs reports that the PyDABs catalog was recreated and 0 changed (i.e. YAML catalog was left unchanged)
Recreated catalogs.pydabs_catalog
Files: 0 uploaded, 0 deleted
Resources: 1 created, 0 changed, 1 deleted, 1 unchanged
OS and CLI version
Windows 11, Databricks CLI v1.16.0
Is this a regression?
Haven't experimented with other versions.
Debug Logs
Na
Describe the issue
Change in workspace access settings of a catalog created with PyDABs triggers resource recreation in next deployment. At the same time, for YAML defined catalogs, changes to workspace settings are ignored (not updated) in deployment.
Behaviour should be identical.
In my opinion PyDABs should match existing YAML behaviour until
isolation_mode-field discussed in #5183 is fully supported (i.e. you can define which workspaces have access) since otherwise single metastore multi-workspace setups cannot manage catalogs using DABs when isolation between workspaces in needed.Configuration
Steps to reproduce the behavior
Please list the steps required to reproduce the issue, for example:
databricks bundle deploy ...Expected Behavior
Either both catalogs are:
Actual Behavior
DABs reports that the PyDABs catalog was recreated and 0 changed (i.e. YAML catalog was left unchanged)
OS and CLI version
Windows 11, Databricks CLI v1.16.0
Is this a regression?
Haven't experimented with other versions.
Debug Logs
Na