Samrat002 commented on PR #114:
URL: 
https://github.com/apache/flink-connector-aws/pull/114#issuecomment-1916403746

   > 1、The tuncate table paramter is supported in the batch import scenario. If 
data exists in a table, duplicate data will be generated and the table must be 
cleared first 
   
   If the record exisits in table and redshift table created contains primary 
key or composite key . it carries out merge into operation . If you check the 
code we are doing merge into operation if ddl contains primary key . 
   
   
   > 2、Can upsert write data in Batch data import scenarios。 
https://docs.aws.amazon.com/redshift/latest/dg/t_updating-inserting-using-staging-tables-.html
   
   can you please elaborate more ,  as per what i understand you are concern 
how staged data get merged , in code we are using 
https://docs.aws.amazon.com/redshift/latest/dg/t_updating-inserting-using-staging-tables-.html#merge-method-specify-column-list
 . 
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to