What's Changed
Features
- Add support for
hard_deletes='new_record'in snapshot materializations, enabling tracking of deleted source records with dedicated deletion records marked bydbt_is_deletedcolumn (thanks @randypitcherii!) (#1176, #1263)- Implements complete support for all three
hard_deletesmodes:ignore(default),invalidate, andnew_record new_recordmode creates deletion records with actual source column values anddbt_is_deleted=truefor full audit trailinvalidatemode uses Delta Lake'sWHEN NOT MATCHED BY SOURCEclause to setdbt_valid_toon deleted records- Uses Databricks native BOOLEAN type for
dbt_is_deletedcolumn for improved type safety and performance
- Implements complete support for all three
Fixes
- Fix bug that was applying UniForm tblproperties on managed Iceberg tables, causing materializations to fail
- Switch to a more reliable mechanism for checking schema existence (forward-ported from 1.10.15) (1261)
Under the hood
- Add validation for query tag value length and auto-escape special characters
- Add
@@prefix to system query tag keys (to keep them separate from user provided tags)
Full Changelog: v1.11.0...v1.11.1