Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
D

datafusion

> 编程语言
Open source

Apache DataFusion SQL Query Engine

9.1K stars0 likes1 views
WebsiteGitHub

About

Apache DataFusion SQL Query Engine

Apache DataFusion

Crates.io Apache licensed Build Status Commit Activity Open Issues Pending PRs Discord chat Linkedin Crates.io MSRV Codecov

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:

  • DataFusion Python offers a Python interface for SQL and DataFrame queries.
  • DataFusion Java offers a Java interface for SQL and DataFrame queries.
  • DataFusion Comet is an accelerator for Apache Spark based on DataFusion.
  • DataFusion Ballista is a distributed query execution engine that scales DataFusion across a cluster of nodes.

"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:

  • Project Site
  • Installation
  • 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 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.

Issues· 2374 open

View all issuesOpen on GitHub
  • #25883

    Side effects from `serde_json/preserve_order` feature impact user applications

    bugUpdated Sep 29, 2026
  • #25522

    Dictionary performance improvement tickets

    Updated Sep 29, 2026
  • #25841

    Validate cached file statistics and Parquet metadata with `e_tag`, not just size and mtime

    enhancementUpdated Sep 29, 2026
  • #22883

    [EPIC] Adaptive predicate evaluation

    Updated Sep 29, 2026
  • #24461

    Release DataFusion `56.0.0` (Oct/Nov 2026)

    Updated Sep 29, 2026
  • #24704

    [EPIC] Use blocked / chunked memory management in hash aggregation

    enhancementUpdated Sep 29, 2026
  • #25875

    Async UDF returning a scalar fails with "all columns in a record batch must have the same length"

    bugUpdated Sep 29, 2026
  • #2027

    beautify default column names

    enhancementgood first issueUpdated Sep 29, 2026
  • #25374

    ForeignAggregateUDF does not forward distinct handling

    Updated Sep 29, 2026
  • #25758

    Release DataFusion `55.2.0` (patch) Release (Oct 2026)

    enhancementUpdated Sep 29, 2026

> Tags

Rustarrowbig-datadataframedatafusion

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 29, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言