suhyeon729 commented on PR #19163: URL: https://github.com/apache/iceberg/pull/19163#issuecomment-7430997508
Thanks @adiranjan25. I reproduced your numbers with an independent test (V2 3 → 11 → 11 → 11, V3 3 → 11 → 10 → 10), and runs 2 and 3 do rewrite every file. The cause looks different from the single-row-group case, though. Nine of the eleven outputs have exactly 1,000 rows. That matches `RollingFileWriter`, which checks the size every 1,000 rows and rolls to a new file. With a 13.6 KB target, the size check is already over the limit at the first check, so the writer produces more files than `expectedOutputFiles` estimates. In the single-row-group case, the read splits cannot combine the files. Both show that the estimate does not match the physical output count, but I wouldn't use this fixture as evidence for realistic targets. I couldn't find the logs or JUnit XML in the branch, only the test change. Could you push them if you still have them? On the split of work: that sounds good to me once the direction is agreed. I'll take the implementation, and the regression tests are yours. -- 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]
