User Guide

Features

qianmoQqianmoQ· 更新于 2026-09-22· 阅读 8 分钟· 0 次阅读

登录后可跨设备保存划线和私人笔记登录

Features#

General#

  • SQL Parser
  • SQL Query Planner
  • DataFrame API
  • Parallel query execution
  • Streaming Execution

Optimizations#

  • Query Optimizer
  • Constant folding
  • Join Reordering
  • Limit Pushdown
  • Projection push down
  • Predicate push down

SQL Support#

  • Type coercion

  • Projection (SELECT)

  • Filter (WHERE)

  • Filter post-aggregate (HAVING)

  • Sorting (ORDER BY)

  • Limit (LIMIT)

  • Aggregate (GROUP BY)

  • cast /try_cast

  • VALUES lists

  • String Functions

  • Conditional Functions

  • Time and Date Functions

  • Math Functions

  • Aggregate Functions (SUM, MEDIAN, and many more)

  • Schema Queries

  • Support for nested types (ARRAY/LIST and STRUCT.

  • Subqueries

  • Common Table Expressions (CTE)

  • Set Operations (UNION [ALL], INTERSECT [ALL], EXCEPT[ALL])

  • Joins (INNER, LEFT, RIGHT, FULL, CROSS)

  • Window Functions

    • Empty (OVER())
    • Partitioning and ordering: (OVER(PARTITION BY <..> ORDER BY <..>))
    • Custom Window (ORDER BY time ROWS BETWEEN 2 PRECEDING AND 0 FOLLOWING))
    • User Defined Window and Aggregate Functions
  • Catalogs

    • Schemas (CREATE / DROP SCHEMA)
    • Tables (CREATE / DROP TABLE, CREATE TABLE AS SELECT)
  • Data Insert

    • INSERT INTO
    • COPY .. INTO ..
    • CSV
    • JSON
    • Parquet
    • Avro

Runtime#

  • Streaming Grouping
  • Streaming Window Evaluation
  • Memory limits enforced
  • Spilling (to disk) Sort
  • Spilling (to disk) Grouping
  • Spilling (to disk) Sort Merge Join
  • Spilling (to disk) Hash Join

Data Sources#

In addition to allowing arbitrary datasources via the TableProvider trait, DataFusion includes built in support for the following formats:

  • CSV

  • Parquet

    • Primitive and Nested Types
    • Row Group and Data Page pruning on min/max statistics
    • Row Group pruning on Bloom Filters
    • Predicate push down (late materialization) not by default
  • JSON

  • Avro

  • Arrow

评论

登录后参与评论

正在加载评论…