JingsongLi commented on PR #8623:
URL: https://github.com/apache/paimon/pull/8623#issuecomment-4993694959

   - After `ParquetInputStream` reads the footer, `ParquetFilters.convert(...)` 
and the `read-options` construction occur before `ParquetFileReader` takes over 
the stream.
   - If these two steps throw runtime exceptions and the stream is not 
`finally/close`-ed, file handles will be leaked. It is recommended to use 
`try/catch` to close the stream before the reader is successfully constructed.


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