GitHub user Xuanwo added a comment to the discussion: (rust) How to use opendal to load data into DuckDB or Polars LazyFrame?
For Polars, one possible approach is to use `object_store_opendal`, which allows using OpenDAL as an implementation of `ObjectStore`. However, the Polars Rust API is relatively closed and doesn't offer a way to inject custom implementations. For instance, their [`ParquetAsyncReader`](https://docs.rs/polars-io/0.46.0/polars_io/parquet/read/struct.ParquetAsyncReader.html) only supports the [`from_uri`](https://docs.rs/polars-io/0.46.0/polars_io/parquet/read/struct.ParquetAsyncReader.html#method.from_uri) method. cc @reswqa for more help, can we use opendal in polars direcrly? --- As for DuckDB, I haven't examined it closely, but from what I remember, there isn't a straightforward way to interact with the DuckDB table class from Rust. Please correct me if that has changed. GitHub link: https://github.com/apache/opendal/discussions/5972#discussioncomment-12745897 ---- This is an automatically sent email for dev@opendal.apache.org. To unsubscribe, please send an email to: dev-unsubscr...@opendal.apache.org