dab: generate Unity Catalog schema and volume resources from table catalog #173
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
The DAB generator should emit
resources.schemasandresources.volumesblocks derived fromaco.lake.catalog.Catalog, so Unity Catalog structure is managed declaratively.Why
Currently
setup_unity_catalog.pycreates schemas imperatively via SDK calls. DAB supportsschemasandvolumesas first-class resources — deploying the bundle should create/update the catalog structure automatically.Scope
Catalog.schemas()to discover all schemas (core, readmissions, pharmacy, etc.)resources.schemas.<name>for each schema, referencing${var.catalog}resources.volumes.stagingfor parquet upload staging areadepends_onordering: schemas deploy before jobs runAcceptance
resources.schemasfor all discovered schemasdatabricks bundle validateaccepts the schema resources