[Feature] Raise an error when a custom dbt_valid_to_current
is configured for a pre-existing snapshot
#10923
Labels
enhancement
New feature or request
pre-release
Bug not yet in a stable release
snapshots
Issues related to dbt's snapshot functionality
triage
user docs
[docs.getdbt.com] Needs better documentation
Is this your first time submitting a feature request?
Describe the feature
The
dbt_valid_to_current
config is intended for net-new snapshots rather than being applied to snapshots that already exist (i.e., the relevant table exists in the database). The reason is that dbt is not supplying automated migration paths (#10325), and its up to users to migrate in the best way they see fit.So similar to #10185 for the
snapshot_meta_column_names
config, dbt should throw an error if the user has an existing snapshot and they try to add/change thedbt_valid_to_current
config.Describe alternatives you've considered
No response
Who will this benefit?
No response
Are you interested in contributing this feature?
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: