dsomesh opened a new issue, #15845:
URL: https://github.com/apache/iceberg/issues/15845

   ### Feature Request / Improvement
   
   As per iceberg documentation, validate-from-snapshot-id is a way to provide 
base snapshot for iceberg write operations against which iceberg will use to 
validate conflicting writes. However, both the merge query and newly added 
merge API lack this. The support only seems to be there for overwrite 
operations.
   
   usecase:
   In case of multi step operations, where data is read once in the beginning, 
transformed and written at the end using merge query, the abovementioned 
property can be used to achieve OCC. The current OCC lifespan starts from the 
beginning of merge query.
   
   past discussions :
   
   https://github.com/apache/iceberg/pull/7607 mentions passing options in 
merge query but nothing conclusive.
   
   ### Query engine
   
   Spark
   
   ### Willingness to contribute
   
   - [ ] I can contribute this improvement/feature independently
   - [ ] I would be willing to contribute this improvement/feature with 
guidance from the Iceberg community
   - [ ] I cannot contribute this improvement/feature at this time


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to