DataFusion
DataFusion is a very fast, extensible query engine for building high-quality data-centric systems in Rust, using the Apache Arrow in-memory format. Python Bindings are also available. DataFusion offers SQL and Dataframe APIs, excellent performance, built-in support for CSV, Parquet, JSON, and Avro, extensive customization, and a great community.
Here are links to some important information
- Project Site
- Rust Getting Started
- Rust DataFrame API
- Rust API docs
- Rust Examples
- Python DataFrame API
- Architecture
What can you do with this crate?
DataFusion is great for building projects such as domain specific query engines, new database platforms and data pipelines, query languages and more. It lets you start quickly from a fully working engine, and then customize those features specific to your use. Click Here to see a list known users.
Contributing to DataFusion
Please see the developer’s guide for contributing and communication for getting in touch with us.
Crate features
This crate has several features which can be specified in your Cargo.toml
.
Default features:
-
compression
: reading files compressed withxz2
,bzip2
,flate2
, andzstd
-
crypto_expressions
: cryptographic functions such asmd5
andsha256
-
encoding_expressions
:encode
anddecode
functions -
parquet
: support for reading the Apache Parquet format -
regex_expressions
: regular expression functions, such asregexp_match
-
unicode_expressions
: Include unicode aware functions such ascharacter_length
Optional features:
-
avro
: support for reading the Apache Avro format -
backtrace
: include backtrace information in error messages -
pyarrow
: conversions between PyArrow and DataFusion types -
serde
: enable arrow-schema'sserde
feature -
simd
: enable arrow-rs's manualSIMD
kernels (requires Rustnightly
)
Rust Version Compatibility
This crate is tested with the latest stable version of Rust. We do not currently test against other, older versions of the Rust compiler.