yihua opened a new issue, #20870:
URL: https://github.com/apache/hudi/issues/20870

   `TestHoodiePruneFileSourcePartitions` asserts the plan's `sizeInBytes` 
against hard-coded kilobyte counts (for example 1275 and 425). Those are the 
sizes of the base files one writer produces on one Spark version: the parquet 
footer differs between writers and between Spark versions, so the constants 
have to be edited whenever either changes, and they cannot hold on every Spark 
profile at once.
   
   Proposal: compare the plan statistics with the sizes of the table's base 
files on storage, which is what the test means to check (which files the plan 
lists).
   


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

Reply via email to