MuhammadTahaNaveed commented on issue #2312:
URL: https://github.com/apache/age/issues/2312#issuecomment-3779814392

   @wangyong86 The most natural approach given the existing bulk load flow is 
to delete the existing tuple when a conflict is detected and let the insertion 
continue uninterrupted. This preserves the batch insert performance that the 
csv loader is designed for, while adding the overwrite capability. The main 
tradeoff is that this can get costly if the index has bloat, since we need to 
deal with tuple visibility checks to find the actual conflicting tuple among 
potentially stale index entries. But for typical use cases (well maintained 
indexes), it should work well.
   
   Note that this can only be supported for `load_labels_from_file (vertices)` 
and specifically for id conflicts.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to