An Azure service for ingesting, preparing, and transforming data at scale.
Hi @arkiboys ,
Thank you for posting query in Microsoft Q&A Platform.
Alter row Upsert If will only does updating records if they are exists and they are not exists inserting as new records. Upsert will not guarantee uniqueness or not having duplicates.
There is no Primary key concept in delta. Hence there is no direct way to making system to avoid duplicates. We should ensure from the first load itself check if any duplicates then remove then and load to delta. Or run a clean up process regularly on delta table which checks duplicates and remove them.
Hope this helps. Please let us know if any further quires.
--------------
Please consider hitting Accept Answer button. Accepted answers help community as well.