Reputation: 11
Can anyone tell me CDC /incremental load methods in Redshift using SQL?
I know one method upsert but other than this there are another methods to do like insert followed by delete etc..
Upvotes: 0
Views: 1981
Reputation: 14035
Redshift doesn't support UPSERT
or MERGE
in SQL but we have a few data merge examples in the docs:
https://docs.aws.amazon.com/redshift/latest/dg/merge-examples.html
Remember that you can use these patterns inside a transaction so you can rollback if something fails.
Upvotes: 2