Apache OpenDAL™ object_store integration
object_store_opendal is an object_store implementation using opendal.
This crate can help you to access 30 more storage services with the same object_store API.
Useful Links
Examples
opendal_store_opendal depends on the opendal crate. Please make sure to always use the latest versions of both.
latest object_store_opendal
latest opendal
1. using object_store API to access S3
Add the following dependencies to your Cargo.toml with correct version:
[]
= "0.11.0"
= "xxx" # see the latest version above
= { = "xxx", = ["services-s3"] } # see the latest version above
Build OpendalStore via opendal::Operator:
use Arc;
use Bytes;
use Path;
use ObjectStore;
use OpendalStore;
use S3;
use ;
async
2. querying data in a S3 bucket using DataFusion
Add the following dependencies to your Cargo.toml with correct version:
[]
= "0.11.0"
= "xxx" # see the latest version above
= { = "xxx", = ["services-s3"] } # see the latest version above
= "44.0.0"
= "2.5.2"
Build OpendalStore via opendal::Operator and register it to DataFusion:
use DataFusionError;
use Result;
use *;
use S3;
use Operator;
use Arc;
use Url;
async
WASM support
To build with wasm32-unknown-unknown target, you need to enable the send_wrapper feature:
Branding
The first and most prominent mentions must use the full form: Apache OpenDAL™ of the name for any individual usage (webpage, handout, slides, etc.) Depending on the context and writing style, you should use the full form of the name sufficiently often to ensure that readers clearly understand the association of both the OpenDAL project and the OpenDAL software product to the ASF as the parent organization.
For more details, see the Apache Product Name Usage Guide.
License and Trademarks
Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0
Apache OpenDAL, OpenDAL, and Apache are either registered trademarks or trademarks of the Apache Software Foundation.