linhr opened a new issue, #330:
URL: https://github.com/apache/hudi-rs/issues/330

   ### Feature Description
   
   Currently, a Hudi `Table` and the underlying `Storage` is constructed from 
the URL and storage options, and the storage options are kept in the struct. I 
found that `parse_url_opts` is used to determine the `ObjectStore` 
implementation for the URL, but this function only looks up built-in 
`ObjectStore` implementations from the `object_store` crate.
   
   It would be great to support injecting `dyn ObjectStore` directly when 
constructing Hudi `Storage` and `Table`, since the user may have a custom 
`ObjectStore` implementation for custom URL schemes. Also I'm not sure if it's 
necessary to track storage options if the `ObjectStore` dependencies is 
injected from the outside.
   
   For more context, I'm a maintainer of 
[Sail](https://github.com/lakehq/sail), a Rust library that offers a drop-in 
replacement for Apache Spark SQL and DataFrame APIs. We'd like to provide 
native Hudi support to our users. It would be great if we have the flexibility 
to integrate Hudi with the few custom `ObjectStore` implementations we have.
   
   Thank you!
   
   ### Additional context
   
   N/A


-- 
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]

Reply via email to