Deltalake
Native Delta Lake implementation in Rust
Usage
API
let table = open_table.await.unwrap;
println!;
CLI
Navigate into the delta-inspect
directory first and run the following command
Please noted that the test data is under rust
instead of delta-inspect
)
Examples
The examples folder shows how to use Rust API to manipulate Delta tables.
Navigate into the rust
directory first and examples can be run using the cargo run --example
command. For example:
Optional cargo package features
azure
- enable the Azure storage backend to work with Delta Tables in Azure Data Lake Storage Gen2 accounts.datafusion
- enable thedatafusion::datasource::TableProvider
trait implementation for Delta Tables, allowing them to be queried using DataFusion.datafusion-ext
- DEPRECATED: alias fordatafusion
featuregcs
- enable the Google storage backend to work with Delta Tables in Google Cloud Storage.json
- enable the JSON feature of theparquet
crate for better JSON interoperability.
Development
To run s3 integration tests from local machine, we use docker-compose to stand
up AWS local stack. To spin up the test environment run docker-compose up
in
the root of the delta-rs
repo.