Features
- Add support for metric views as a materialization by @benc-db in #1285
- Add support for row filters by @sd-db in #1294
- Add support for Python UDFs by @sd-db in #1336
- Add support for key-only
databricks_tagsfor table and column tagging. This can now be configured by setting tag values to empty strings""orNone. by @canbekley in #1339 - Fetch relation metadata like constraints, column masks, row filters, etc with a single
DESCRIBE TABLE EXTENDED ... AS JSONcall, replacing multipleinformation_schemaqueries. Falls back toinformation_schemaon older runtimes. Gated behinduse_describe_as_json_for_relation_metadatabehavior flag, off by default. by @tejassp-db in #1432 - Support
SCHEDULE EVERYandTRIGGER ON UPDATErefresh modes for materialized views and streaming tables, with parser and diff coverage so relations whose actual refresh is not CRON no longer crash on subsequent runs by @sd-db in #1434, closes #1293
Fixes
- Fix
metric_viewfailing withMETRIC_VIEW_INVALID_VIEW_DEFINITIONwhen models use bare{{ ref(...) }}for thesource:field by @sd-db in #1430, closes #1361 - Fix
RefreshConfig.__eq__self/other typo where two configs with the samecronbut differenttime_zone_valuecompared equal by @sd-db in #1434 - Fix streaming-table DROP-SCHEDULE path that was silently filtered out of the changeset by @sd-db in #1434
- Use pydantic v1-compatible API in
refresh.pyso the adapter imports on environments shipping pydantic v1 by @sd-db in #1461
Under the Hood
- BREAKING:
databricks_tagsdefined at different hierarchy levels (e.g. project-level and model-level) now merge additively instead of the child config completely replacing the parent. by @canbekley in #1340 - Skip
information_schema.tagsandinformation_schema.column_tagsmetadata fetches when table tags and column tags are not configured on a model. by @tejassp-db in #1387
Full Changelog: v1.11.8...v1.12.0