yihua opened a new pull request, #915:
URL: https://github.com/apache/hudi-rs/pull/915
## Description
Every error from the core library reaches Python as `HudiCoreError`, and the
stubs document it, but the class was never added to the extension module, so
`from hudi import HudiCoreError` failed and callers could only catch
`Exception`. This registers it on `hudi._internal` (which also gives it the
right `__module__`), re-exports it from `hudi`, and declares it in the stub.
The read-option and streaming tests that expect a core error now catch it by
name.
## How are the changes test-covered
- [ ] N/A
- [x] Automated tests (unit and/or integration tests)
- [ ] Manual tests
- [ ] Details are described below
--
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]