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
SqlToRelthat createsLogicalPlans fromStatements. -
A SQL
unparserthat convertsExprs andLogicalPlans into SQL query text.
Re-exportsΒ§
pub use sqlparser;
ModulesΒ§
- cte π
- expr π
- parser
DFParser: DataFusion SQL Parser based on [sqlparser]- planner
SqlToRel: SQL Query Planner (producesLogicalPlanfrom SQL AST)- query π
- relation π
- resolve
- select π
- set_
expr π - stack π
- statement π
- unparser
Unparserfor convertingExprto SQL text- utils
- SQL Utility Functions
- values π
StructsΒ§
- Resolved
Table Reference - A fully resolved path to a table of the form βcatalog.schema.tableβ
EnumsΒ§
- Table
Reference - A multi part identifier (path) to a table that may require further
resolution (e.g.
foo.bar).