pvary commented on issue #12761: URL: https://github.com/apache/iceberg/issues/12761#issuecomment-2792562489
You can use `rewriteAll` to rewrite every data file. This will not skip already sorted files. Usually this is good, as based on the `max-file-group-size-bytes` multiple files are compacted in a group. The sorting happens on group level, and the resulting files will contain distinct ranges for the sorted columns. When a query uses filtering for the sorting columns most of the files could be filtered out on metadata level which could speed up the query massively. -- 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]
