You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "tsreaper (via GitHub)" <gi...@apache.org> on 2024/09/12 06:27:34 UTC

[PR] [avro] Unwrap AvroRuntimeException and throw the real IOException [paimon]

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

   ### Purpose
   
   Many features, such as `OrphanFilesClean`, in Paimon checks for specific `IOException`s (for example, `FileNotFoundException` or `EOFException`) and deal with them properly. However avro readers currently wraps all `IOException`s into `AvroRuntimeException`, thus we cannot know what the real exception is.
   
   This PR unwraps `AvroRuntimeException` and throws the real `IOException` in avro readers.
   
   ### Tests
   
   Unit tests.
   
   ### API and Format
   
   No format changes.
   
   ### Documentation
   
   No new feature.
   


-- 
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: issues-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [avro] Unwrap AvroRuntimeException and throw the real IOException [paimon]

Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi merged PR #4179:
URL: https://github.com/apache/paimon/pull/4179


-- 
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: issues-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org