You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "ajantha-bhat (via GitHub)" <gi...@apache.org> on 2023/05/09 14:47:11 UTC

[GitHub] [iceberg] ajantha-bhat commented on pull request #7105: Spec: Add partition stats spec

ajantha-bhat commented on PR #7105:
URL: https://github.com/apache/iceberg/pull/7105#issuecomment-1540274093

   Hi @aokolnychyi and @rdblue, 
   
   I just created a single parquet file with a million sorted unique timestamp (partition value) and the same schema as expected partition stats. The file size turned out to be 12.6MB, Unsorted random file was around 30MB.
   
   https://gist.github.com/ajantha-bhat/3401f2a29ddfa6b2b42f9168461ce98b 
   
   I agree that rewriting the whole file is expensive once the data grows. But creating multiple small files for incremental updates will not sort whole data and may slow the look-up of partition values during query. 


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