QuakeWang opened a new pull request, #8152:
URL: https://github.com/apache/paimon/pull/8152

   ### Purpose
   
   `MosaicRecordsReader.close()` previously closed resources sequentially. If 
an earlier close operation failed, for example `MosaicReader.close()` throwing 
from the native boundary, later resources such as the Arrow allocator and the 
input file adapter were skipped.
   
   This change makes reader close cleanup consistent with the Mosaic writer 
close path: it attempts to close every owned resource, keeps the first failure 
as the primary exception, and attaches later failures as suppressed exceptions.
   
   ### Tests
   
     - `mvn -pl paimon-mosaic -Dtest=MosaicRecordsReaderTest test`


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