This is a folder where some examples are provided to understand the use of the library.
Some tables need to be created, some are easy to create, some are not. The data/README.md file
contains instructions on how to create the tables.
For Azure ADLS, AWS S3, and HDFS storage examples you will need to provide the needed credentials or access to the respective storage systems.
To run the examples, you need to have cargo installed. Then, you can run the examples as follows:
cargo run --example <example_name>For example, to run the local_store.rs example, you can run:
cargo run --example local_storeSome examples require specific feature flags to be enabled:
| Example | Required Feature |
|---|---|
local_store_hudi |
hudi |
local_store_lance |
lance |
local_store_paimon |
paimon |
To run these examples, use the --features flag:
cargo run --features hudi --example local_store_hudi
cargo run --features lance --example local_store_lance
cargo run --features paimon --example local_store_paimon
# Or use the all feature to enable all table formats:
cargo run --features all --example local_store_hudi