abyssnlp opened a new pull request, #107:
URL: https://github.com/apache/hudi-rs/pull/107
## Description
Reading Hudi tables from an object store, s3 in this case, was failing due
to the object store not being registered with Datafusion.
Before the changes in this PR, the following error was encountered:
```
Error: Internal("No suitable object store found for s3://test-hudi-rs/. See
`RuntimeEnv::register_object_store`")
```
Datafusion requires the object store to be registered. Refer
[here](https://github.com/apache/datafusion/blob/fa50636c6aec0f321212ed8678c77de25b71a8f9/datafusion/core/src/execution/context/mod.rs#L375).
## Note
- `Storage` and `FileSystemView` have public struct fields `object_store`
and `storage`. There should be a better way to expose these to the `datafusion`
crate to be able to register them.
## How are the changes test-covered
- [x] N/A
- [ ] 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]