cargo build --all
# TODO does this build the CLI?
# check compilation
cargo build --all-targets &&
( cd datafusion-cli && cargo build --all-targets ) &&
# fmt, clippy, taplo, doc
dev/rust_lint.sh &&
echo all checks OK
all code checks (old & UNMAINTAINED)
# check compilation
cargo build --all-targets &&
( cd datafusion-cli && cargo build --all-targets ) &&
# check format
cargo fmt --all &&
( cd datafusion-cli && cargo fmt --all ) &&
# ask clippy
cargo clippy --all-targets --workspace --features avro,pyarrow -- -D warnings &&
( cd datafusion-cli && cargo clippy --all-targets --all-features -- -D warnings ) &&
# check docs and compile example in docs
RUSTDOCFLAGS=" -D warnings -A rustdoc::private-intra-doc-links" \
cargo doc --document-private-items --no-deps --workspace &&
( cd datafusion-cli && \
RUSTDOCFLAGS=" -D warnings -A rustdoc::private-intra-doc-links" \
cargo doc --document-private-items --no-deps ) &&
echo all checks OK
# doc tests
cargo test --doc --features avro,json
( cd datafusion-cli && cargo test --doc --all-features ) &&
# tests
( ulimit -n 2048 && RUST_BACKTRACE=1 cargo test --lib --tests --bins --features avro,json,backtrace ) &&
( cd datafusion-cli && cargo test --lib --tests --bins --all-features ) &&
echo all tests OK
cargo test --test sqllogictests