Setup#
Prerequisites#
Rust toolchain (see
rust-toolchain.tomlfor the required version)Git LFS for test data
Clone and Setup#
Clone the repository and set up test data:
git clone https://github.com/datafusion-contrib/datafusion-distributed
cd datafusion-distributed
git lfs install
git lfs checkout
Running Examples#
# In-memory cluster example
cargo run --example in_memory_cluster -- 'SELECT * FROM weather LIMIT 10'
# Localhost workers (requires starting workers first in separate terminals)
cargo run --example localhost_worker -- 8080 --cluster-ports 8080,8081
cargo run --example localhost_run -- 'SELECT * FROM weather LIMIT 10' --cluster-ports 8080,8081
Resources#
Examples directory - Full working examples
Integration tests - Feature-specific examples