deniskuzZ opened a new pull request, #7009: URL: https://github.com/apache/hive/pull/7009
### What changes were proposed in this pull request? When Tez groups the scan's splits and neither iceberg.mr.split.size nor read.split.target-size is set, Iceberg sizes the splits as Spark does: max(target size, TableScanUtil.adjustSplitSize(scan, parallelism, tez.grouping.max-size)). iceberg.mr.split.adaptive-size.enabled overrides the table's read.split.adaptive-size.enabled (default on). Files with split offsets keep one split per row group; a fetch task is unchanged. ### Why are the changes needed? A data file without split offsets (a migrated table) is planned in 128 MiB chunks; two of them miss a 256 MiB Tez group by a few hundred bytes, so most tasks got one chunk (1.6x the map tasks of the same files read as external Parquet). TPC-DS 10 TB Iceberg (migrated), 12 LLAP daemons, 99 queries, only this change toggled, mirrored: wall -12.1 %, LLAP CPU -6.1 %, map tasks -41 %, results identical. ### Does this PR introduce _any_ user-facing change? No new default behaviour for tables with split offsets; iceberg.mr.split.adaptive-size.enabled=false restores fixed-size splits. ### How was this patch tested? - TestIcebergInputFormatSplitSize + TestIcebergInputFormats (81 run, 6 skipped); with the adaptive size off, 5 of TestIcebergInputFormatSplitSize's 9 fail. - Iceberg LLAP qtests with split counters unchanged: iceberg_virtual_column_pushdown, llap_iceberg_read_orc_deletes, vectorized_iceberg_read_parquet, llap_iceberg_read_parquet. 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
