JingsongLi opened a new pull request, #1529:
URL: https://github.com/apache/paimon-rust/pull/1529

   ### Purpose
   
   Hive can leave zero-byte ORC objects. Java ORC reads them as zero rows, 
while Rust Format Table scans fail when opening the footer. The Python behavior 
is covered by apache/paimon#11005.
   
   ### Brief change log
   
   Skip ORC objects whose size is confirmed to be zero when planning a Format 
Table scan. Count those objects as zero rows during partition statistics 
collection and include them in the physical file count. Corrupt nonempty ORC 
files still surface errors.
   
   ### Tests
   
   The regression reproduced the empty-file error on the baseline. All 77 
Format Table unit tests, 7 DataFusion REST partition statistics tests, and 
5,105 core unit tests passed. Formatting and diff checks passed.
   
   ### API and Format
   
   Uses the existing Format Table API and ORC format.
   


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