dab: filter Unity Catalog schemas to pipeline-produced only #219
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?
Problem
_get_catalog_schemas()returns 34 schemas fromaco.tablePydantic models including 21 legacy dbt/Tuva schemas (alr, asr, ccsr, ccw, reach, ssp, etc.) not produced by any current pipeline. These get deployed as empty Unity Catalog schemas.Tasks
pipeline_schemas()tosrc/aco/lake/catalog.py— derive schemas from pipeline registry output namespipeline_schemas()in DAB generator instead ofCatalog().schemas()Starting. Will add
pipeline_schemas()to catalog.py and use it in the DAB generator.Complete.
Catalog.pipeline_schemas()— derives schemas from pipeline registry output names_get_catalog_schemas()in DAB generator to usepipeline_schemas()✅ 112 DAB tests passed, 12,061 total.