You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xtable.apache.org by "alealandreev (via GitHub)" <gi...@apache.org> on 2026/06/06 13:09:47 UTC

[PR] [MINOR] Preserve original cause in ReadException on close failure [incubator-xtable]

alealandreev opened a new pull request, #827:
URL: https://github.com/apache/incubator-xtable/pull/827

   ## What is the purpose of the pull request
   
   `HudiDataFileExtractor.close()` wrapped any failure from closing the table
   metadata or file system view in a new `ReadException` without passing the
   caught exception as the cause. This discarded the original stack trace and
   root cause (e.g. I/O or permission errors), making such failures hard to
   diagnose.
   
   ## Brief change log
   
   - Pass the caught exception to the `ReadException(message, Throwable)`
     constructor in `HudiDataFileExtractor.close()` so the original cause is
     preserved in the exception chain.
   
   ## Verify this pull request
   
   This pull request is a trivial rework / code cleanup without any test coverage.


-- 
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: commits-unsubscribe@xtable.apache.org

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


Re: [PR] [MINOR] Preserve original cause in ReadException on close failure [incubator-xtable]

Posted by "the-other-tim-brown (via GitHub)" <gi...@apache.org>.
the-other-tim-brown merged PR #827:
URL: https://github.com/apache/incubator-xtable/pull/827


-- 
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: commits-unsubscribe@xtable.apache.org

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


Re: [PR] [MINOR] Preserve original cause in ReadException on close failure [incubator-xtable]

Posted by "the-other-tim-brown (via GitHub)" <gi...@apache.org>.
the-other-tim-brown commented on PR #827:
URL: https://github.com/apache/incubator-xtable/pull/827#issuecomment-4640289536

   Thanks for the fix @alealandreev!


-- 
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: commits-unsubscribe@xtable.apache.org

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