RussellSpitzer commented on issue #6442:
URL: https://github.com/apache/iceberg/issues/6442#issuecomment-1357748925

   @findepi shouldn't you be able to just change any write only commit into a 
transaction with both updates the append and updates the statistics?
   
   Like
   ```
   AppendFiles(A, B, C)
   ```
   becomes
   ```
   Transaction Begin
     AppendFiles(A, B, C)
     Update Statistics (A, B ,C)
   Transaction End
   Commit Transaction // Creates one Snapshot which both appends files and 
updates statistics
   ```
   
   Then it's up to the framework to build those transactions when required. 
This would be similar to the mergeSchema functions in Spark.


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