-
Notifications
You must be signed in to change notification settings - Fork 99
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
UPSERT Support #505
Comments
I have also tried creating a stream on the raw VARIANT snowflake table, with the idea that I could use a task to periodically run a MERGE into a target table, but no matter if I INSERT or UPDATE rows in the source database, the stream always shows them as INSERTS.. so the merge won't work in that case. |
Any plans to support update/upsert functionality in the near future? |
Was this can be resolved by a delete and a insert? |
One of the unanswered questions is around cost effectiveness. A merge requires compute time but so does a snowpipe processing. Thus what will be more effective way to have upserts at reasonable cost:
Additionally if order is to be preserved between create/update on the same record instance (say merge over id), there is some order in which these merges should happen, so more of a stack than a queue. |
I'm using the JDBC Source connector to bring a MSSQL table into kafka as a topic.
I have two sink connectors configured on that topic .. the JDBC Sink connector (pushing the data back out to an identical table in MSSQL) and the Snowflake Sink Connector (where I'm trying to do the same, but as a Snowflake table).
The JDBC sink seems to handle upserts just fine, in that say the source table contains 3 rows and I update one of them, the destination table contains exactly 3 rows with one updated.
The snowflake sink does not seem to work this way ... updates appear in the destination table as new rows (with the same key but different timestamps).
Q: How can I do proper UPSERT to a Snowflake table? Or is this not supported?
The text was updated successfully, but these errors were encountered: