Crate datafusion_sql
source ·Expand description
This crate provides:
-
A SQL parser,
DFParser
, that translates SQL query text into an abstract syntax tree (AST),Statement
. -
A SQL query planner
SqlToRel
that createsLogicalPlan
s fromStatement
s. -
A SQL
unparser
that convertsExpr
s andLogicalPlan
s into SQL query text.
Re-exports§
pub use sqlparser;
Modules§
SqlToRel
: SQL Query Planner (producesLogicalPlan
from SQL AST)Unparser
for convertingExpr
to SQL text- SQL Utility Functions
Structs§
- A fully resolved path to a table of the form “catalog.schema.table”
Enums§
- A multi part identifier (path) to a table that may require further resolution (e.g.
foo.bar
).