-
Notifications
You must be signed in to change notification settings - Fork 742
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Support merge update operation #8685
Comments
|
dbt adapter documentation suggests that we could use delete + insert to replace merge operations. I think that may worth trying |
I'd like to take this issue to have an investigation about whether it's hard or not to implementing the MERGE INTO statement in our code base. An investigation is prioritized first, the implementation may be seperated in serveral issues. Nowadays we have already got the |
MERGE statement have some complexities about handling JOINs. To make the CDC solutions, making UPSERT may be a easier path: #9861 the UPSERT statement do not need integration with JOIN, and can process batched CDC streams. but UPSERT have some limitations when compared with the MERGE statment:
however, we can do MERGE in the future. |
Summary
compare and update target table based on reference table
example:
Ref:
https://docs.snowflake.com/en/sql-reference/sql/merge.html
The text was updated successfully, but these errors were encountered: