metanil commented on PR #14277: URL: https://github.com/apache/iceberg/pull/14277#issuecomment-3549941076
@szehon-ho The motivation behind this is it enables more efficient resource utilization by ensuring partition-specific data or caches are loaded only once, reducing memory (or IO) overhead and improving performance. Usually Spark sorts and groups partitions by storage order (e.g., if partitions are defined as `PARTITIONED BY (A, B, C)` and in storage path s3://bucket/xxx/$dbname.db/$tablename/data/A=a/B=b/C=c/xxx-xxx-xxx.parquet, splits are ordered by `A/B/C`). This change allows sorting spark partitions by a specific field (e.g., just `C` or `B`) rather than the full storage order. This doesn't do any record level data ordering/sorting. -- 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]
