An Azure service for ingesting, preparing, and transforming data at scale.
Hi again @arkiboys
I noticed your upsertif --> true() would mark ALL rows for upsert. Is this intended?
This error sounds like two instances are trying to write to the same version of the Delta table at the same time, and making a conflict. There is an explanation in this article
under the section titled Solving Conflicts Optimistically . If I understand everythign correctly, most of the time you won't see this error. Only when the conflict can't be resolved would you see this.
Excerpt:
However, in the event that there’s an irreconcilable problem that Delta Lake cannot solve optimistically (for example, if User 1 deleted a file that User 2 also deleted), the only option is to throw an error.
So maybe the two instances have nulls in the same row, causing double-delete?