[DAB] Schema validation rejects `isolation_mode` in `resources.catalogs` definitions
Maintainer antworten meist innerhalb von 1 Tag
@andrewnester arbeitet bereits daran.
Seit 06.5.2026.
Bewertung
Dieses Issue wurde noch nicht bewertet.
Beschreibung
Describe the bug
When defining Unity Catalog resources in a databricks.yml bundle, the isolation_mode field is rejected by the CLI schema validator, even though it is a valid and documented Unity Catalog API attribute (OPEN / ISOLATED).
Steps to reproduce
Add a catalog resource with isolation_mode to your bundle:
resources:
catalogs:
my_catalog:
name: "dev_application_X"
storage_root: "abfss://[email protected]"
isolation_mode: ISOLATED
comment: "Catalog for X application data"
grants:
- principal: "my-group"
privileges:
- USE_CATALOG
- USE_SCHEMA
- SELECT
Run:
databricks bundle validate -t ENV
Expected behavior
isolation_mode: ISOLATED (or OPEN) should be accepted and applied during bundle deploy, binding the catalog to the target workspace when set to ISOLATED.
Actual behavior
The CLI rejects the field with a schema validation error, preventing the bundle from deploying catalogs with workspace-scoped isolation.
Motivation / Use case
Multi-environment bundles (dev/pre/prod) need to deploy catalogs with different isolation modes per target:
ISOLATEDin dev/pre — catalog is workspace-bound, preventing cross-workspace access during development.OPENin prod — catalog is accessible across workspaces.
Without this support, isolation_mode must be set manually via the Unity Catalog UI or REST API after each deployment, breaking the IaC model that DAB is designed to provide.
CLI version
Databricks CLI v0.299.0
References
- Unity Catalog REST API:
POST /api/2.1/unity-catalog/catalogs— fieldisolation_mode - Unity Catalog isolation mode docs
- Vorherrschende Sprache
- Go
- Sterne
- 409
- Forks
- 253
- Ø Merge
- 1 T. 11 Std.
- Gemergte PRs (30 T.)
- 212
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Kein Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus databricks/cli
-
Apps commands only accept relative path to app.ymlEvtl. vergeben @yuri-rod hat das vor 16 Tagen übernommen. OffenCLI
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
databricks/cli#6910 ·
Maintainer antworten meist innerhalb von 1 Tag
-
DABs
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
databricks/cli#6670 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bundle validate does not catch missing trigger.table_update.condition with multiple tablesEvtl. vergeben @yuri-rod hat das vor 1 Tag übernommen. OffenDABs Enhancement
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 72/100
databricks/cli#7101 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 35/100
databricks/cli#7100 ·
Maintainer antworten meist innerhalb von 1 Tag
-
DABs Enhancement
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 35/100
databricks/cli#7099 ·
Maintainer antworten meist innerhalb von 1 Tag
Ähnliche Issues
-
cleanup hacktoberfest priority: low skill: good first issue testing
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
hyperledger-labs/fabric-smart-client#2197 ·
Maintainer antworten meist innerhalb von 1 Tag
-
New term request
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
geneontology/go-ontology#32791 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 69/100
aws/amazon-ecs-agent#5177 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
release-followup
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
Maintainer antworten meist innerhalb von 1 Tag
-
kind/bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag