Add config for conditional update on incremental merge strategy #304
fbalmigere
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
We're facing an issue where we would like to make use of the feature (in snowflake at least), to add some condition in the "when matched" statement, in order to not actually update on match, if none of the relevant values columns have actually been modified. But it seems not to be available with incremental strategy.
Suggestion pseudocode:
merge on xyz
when matched [and {check if any of the column from a list have actually changed} ]
then update set [...]
I'm surprised this isn't already in the default config, given that use case shouldn't be too rare.
Am I missing something here?
Beta Was this translation helpful? Give feedback.
All reactions