You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2022/12/19 14:23:14 UTC

[GitHub] [iceberg] RussellSpitzer commented on issue #6442: Extends Iceberg table stats API to allow publish data and stats atomically

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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org