adiranjan25 commented on PR #19163:
URL: https://github.com/apache/iceberg/pull/19163#issuecomment-7334052806

   <p><span>Thanks @suhyeon729. Following the Spark/Flink investigation, I 
independently ran a controlled Spark 4.1 A/B comparison using upstream baseline 
</span><code><span>2e12b22ae</span></code><span> and the current PR 
implementation 
</span><code><span>5a4714850</span></code><span>.</span></p><p><span>I added an 
end-to-end characterization test that executes three consecutive bin-pack 
rewrites and verifies data integrity for Iceberg format V2 and 
V3.</span></p><p><strong><span>Results:</span></strong></p>
   Format | Baseline file counts | PR file counts
   -- | -- | --
   V2 | 3 → 11 → 11 → 11 | 3 → 11 → 11 → 11
   V3 | 3 → 11 → 10 → 10 | 3 → 11 → 10 → 10
   
   <p><span>Both implementations produced identical results. All four test 
executions passed, with zero failures or errors.</span></p><p><span>The fixture 
uses a small target of 13,622 bytes, so this is a supplementary reproduction, 
not an exact replication of your 512 MB single-row-group experiments. The test 
demonstrates that physical rewrites can continue without reducing file count 
even with the current shared-core guard.</span></p><p><span>I have preserved 
the baseline and patched test logs, JUnit XML results, and the code 
diff.</span></p><p><strong><span>Test branch:</span></strong><span> </span><a 
href="https://github.com/adiranjan25/iceberg/tree/test/19163-spark-convergence";><span>https://github.com/adiranjan25/iceberg/tree/test/19163-spark-convergence</span></a></p><p><span>This
 further supports investigating a Spark-specific selection or split-packing 
solution rather than relying only on the shared 
</span><code><span>expectedOutputFiles()</span></code><span> condition.</spa
 n></p><p><span>I am happy to contribute this regression coverage to the agreed 
implementation once the maintainers confirm the 
direction.</span></p><p><span>AI disclosure: I used AI assistance in preparing 
the test, and independently ran and compared the local results.</span></p>


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

Reply via email to