Monday
Everytime I run parallel job it always failed with this error:
ConcurrentAppendException: Files were added to the root of the table by a concurrent update. Please try the operation again.
I did a lot of reseaches also create liquid clustering table and row level concurrency but it still failed.
Note: I can pass with retry method, but my boss doesn't like that approach. Does anyone can help me on this case?
Thanks you very much!
Please see detailt my table configuration in attachment picture.
Monday
Note: I tried both DBR 13.3.x and 14.3.x but still failed with same error
Tuesday
See this chart for a description of how row-level concurrency works. With row-level concurrency, concurrent merge operations still cannot safely modify the same row. Without row-level concurrency, concurrenty merge operations cannot safely modify the same partition.
Here are two strategies for handling this (there may be more):
Please be aware that target tables with identity columns enabled do not support concurrent operations, regardless of disjoint predicates.
Tuesday - last edited Tuesday
Hi @cgrant,
Thanks for your checking, Could you please help me review on this?I also did the disjoint predicate here is my condition for merge,
Wednesday
What do the other merge commands look like?
Wednesday
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.
If there isn’t a group near you, start one and help create a community that brings people together.
Request a New Group