yihua opened a new pull request, #1005:
URL: https://github.com/apache/hudi-rs/pull/1005
closes #1001
## Description
Stacked on #989; review the last commit.
`TableBuilder::with_object_store(Arc<dyn ObjectStore>)` routes all of a
table's I/O through a caller-supplied store, reads and writes alike: the
metadata table, compaction including async, and any URI scheme. Storage options
and per-reader storage overrides then do not change where I/O goes. Injection
is in the Rust core API only. hudi-core now has `pub use object_store` so
callers implement against the same version, which ties hudi-core's public API
to object_store 0.13: moving to 0.14 becomes a breaking change for hudi-core.
## How are the changes test-covered
- [ ] N/A
- [x] Automated tests (unit and/or integration tests)
- [ ] Manual tests
- [ ] Details are described below
New tests read a table through an injected store under a scheme
`object_store` does not recognise, check that no other store is built and that
derived storages reuse the injected one, and run an async compaction whose
reads and writes all go through it.
--
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]