Forum Discussion
Mathan1787
Helper I
3 years agoUpsert in copy activity
Hi, could you let me know how can i do upsert in copy activity of Data pipeline so i could load the data from Azure sql table to lakehouse and store the information as delta table or if there ar...
Mathan1787
Helper I
3 years agoI am planning to sort the upsert with notebook as copying the entire 2 billion records would be very costly. it would be nice if there is a incremental loading of data or cdc.
DennesTorres
Power Participant
3 years agoHi,
If you manage to identify an "updatedDate" and/or "InsertedDate" and/or an ascending field, such as Date or ascending numeric key, you can manage to build an incremental load based on them and still keep an image of the records you load every day.
Keeping this image is important, if you really can't find other solution than the upsert, you miss this image. But yes, I understand for this amount, if the incremental load is not possible, at least the upsert maybe needed.
Kind Regards,
Dennes