← Winnitude! Search  ·  Reader Mode (1219 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 179 LINKS

GitHub - apache/datafusion: Apache DataFusion SQL Query Engine

Repository navigation

datafusion
Public

About

Apache DataFusion SQL Query Engine

datafusion.apache.org/

Topics

arrow big-data dataframe datafusion olap python query-engine rust sql

Resources

Readme Apache-2.0 license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy Activity Custom properties

Stars

9.8k stars

Watchers

114 watching

Forks

2.7k forks Report repository
Branches

Tags
Go to Branches page Go to Tags page

Latest commit

 

History


15,928 Commits
View commit history for this file.

Folders and files

Name Name Last commit message Last commit date
.ai/ skills .ai/ skills    
.cargo .cargo    
.devcontainer .devcontainer    
.github .github    
benchmarks benchmarks    
ci/ scripts ci/ scripts    
datafusion-cli datafusion-cli    
datafusion-examples datafusion-examples    
datafusion-testing @ 64e2529 datafusion-testing @ 64e2529    
datafusion datafusion    
dev dev    
docs docs    
parquet-testing @ 107b366 parquet-testing @ 107b366    
python python    
test-utils test-utils    
testing @ 7df2b70 testing @ 7df2b70    
xtask xtask    
.asf.yaml .asf.yaml    
.dockerignore .dockerignore    
.editorconfig .editorconfig    
.envrc .envrc    
.gitattributes .gitattributes    
.gitignore .gitignore    
.gitmodules .gitmodules    
AGENTS.md AGENTS.md    
CHANGELOG.md CHANGELOG.md    
CLAUDE.md CLAUDE.md    
CODE_OF_CONDUCT.md CODE_OF_CONDUCT.md    
CONTRIBUTING.md CONTRIBUTING.md    
Cargo.lock Cargo.lock    
Cargo.toml Cargo.toml    
LICENSE.txt LICENSE.txt    
NOTICE.txt NOTICE.txt    
README.md README.md    
SECURITY.md SECURITY.md    
clippy.toml clippy.toml    
doap.rdf doap.rdf    
flake.lock flake.lock    
flake.nix flake.nix    
licenserc.toml licenserc.toml    
lychee.toml lychee.toml    
pre-commit.sh pre-commit.sh    
pyproject.toml pyproject.toml    
rust-toolchain.toml rust-toolchain.toml    
rustfmt.toml rustfmt.toml    
taplo.toml taplo.toml    
typos.toml typos.toml    
uv.lock uv.lock    

Repository files navigation

Apache DataFusion

Website | API Docs | Chat

DataFusion is an extensible query engine written in Rust that uses Apache Arrow as its in-memory format.

This crate provides libraries and binaries for developers building fast and feature-rich database and analytic systems, customized for particular workloads. See use cases for examples. The following related subprojects target end users:

"Out of the box," DataFusion offers SQL and DataFrame APIs, excellent performance , built-in support for CSV, Parquet, JSON, and Avro, extensive customization, and a great community.

DataFusion features a full query planner, a columnar, streaming, multi-threaded, vectorized execution engine, and partitioned data sources. You can customize DataFusion at almost all points including additional data sources, query languages, functions, custom operators and more. See the Architecture section for more details.

Here are links to important resources:

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 needs. See the list of known users .

Contributing to DataFusion

Please see the contributor guide and communication pages for more information.

We discuss our roadmap via GitHub issues and invite you to join the conversation. The current discussion is the DataFusion 2026 Q3-Q4 Roadmap Discussion .

Crate features

This crate has several features which can be specified in your Cargo.toml.

Default features:

  • nested_expressions: functions for working with nested types such as array_to_string
  • compression: reading files compressed with xz2, bzip2, flate2, and zstd
  • crypto_expressions: cryptographic functions such as md5 and sha256
  • datetime_expressions: date and time functions such as to_timestamp
  • encoding_expressions: encode and decode functions
  • parquet: support for reading the Apache Parquet format
  • sql: support for SQL parsing and planning
  • regex_expressions: regular expression functions, such as regexp_match
  • unicode_expressions: include Unicode-aware functions such as character_length
  • unparser: enables support to reverse LogicalPlans back into SQL
  • recursive_protection: uses recursive for stack overflow protection.

Optional features:

  • avro: support for reading the Apache Avro format
  • backtrace: include backtrace information in error messages
  • parquet_encryption: support for using Parquet Modular Encryption
  • serde: enable arrow-schema's serde feature

DataFusion API Evolution and Deprecation Guidelines

Public methods in Apache DataFusion evolve over time: while we try to maintain a stable API, we also improve the API over time. As a result, we typically deprecate methods before removing them, according to the deprecation guidelines .

Dependencies and Cargo.lock

Following the guidance on committing Cargo.lock files, this project commits its Cargo.lock file.

CI uses the committed Cargo.lock file, and dependencies are updated regularly using Dependabot PRs.

About

Apache DataFusion SQL Query Engine

datafusion.apache.org/

Topics

arrow big-data dataframe datafusion olap python query-engine rust sql

Resources

Readme Apache-2.0 license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy Activity Custom properties

Stars

9.8k stars

Watchers

114 watching

Forks

2.7k forks Report repository

Releases

Packages

Used by

Contributors

Languages