Databricks Row filter causing duplicates in Delta Table while writing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2025 06:16 AM
Hello,
I have a databricks external table to which I have applied a row filter, After applying the row filter I see that the Delta merge functionality is not working as expected even with simple records ( not nested) and I have already tried execution with 16.4 and serverless clusters.
Is there any suggestion or recommendation for this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2025 06:45 AM
Hi @Abhijeet2492 ,
For now merge support for row filters is pretty limited. Maybe you're hitting one of following limitations:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2025 06:51 AM
What is the workaround to achieve the same functionality of upsert that we get with Merge?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2025 07:02 AM
Every merge statement can be rewritten as series of INSERT, UPDATE and DELETES. So, as of now you can try to handle it that way. Or just way until this feature mature enough (I guess soon some of the limitations will be removed)