Expand description
This module provides a builder for creating LogicalPlans
Structs§
- Logical
Plan Builder - Builder for logical plans
- Logical
Table Source - Basic TableSource implementation intended for use in tests and documentation. It is expected that users will provide their own TableSource implementations or use DataFusion’s DefaultTableSource.
Constants§
- UNNAMED_
TABLE - Default table name for unnamed table
Functions§
- add_
group_ by_ exprs_ from_ dependencies - Add additional “synthetic” group by expressions based on functional dependencies.
- build_
join_ schema - Creates a schema for a join operation. The fields from the left side are first
- change_
redundant_ column - get_
struct_ unnested_ columns - get_
unnested_ columns - project
- Create Projection
- subquery_
alias - Create a SubqueryAlias to wrap a LogicalPlan.
- table_
scan - Create a LogicalPlanBuilder representing a scan of a table with the provided name and schema. This is mostly used for testing and documentation.
- table_
scan_ with_ filter_ and_ fetch - Create a LogicalPlanBuilder representing a scan of a table with the provided name and schema, filters, and inlined fetch. This is mostly used for testing and documentation.
- table_
scan_ with_ filters - Create a LogicalPlanBuilder representing a scan of a table with the provided name and schema, and inlined filters. This is mostly used for testing and documentation.
- union
- Union two
LogicalPlan
s. - unnest
- Create a
LogicalPlan::Unnest
plan - unnest_
with_ options - Create a
LogicalPlan::Unnest
plan with options This function receive a list of columns to be unnested because multiple unnest can be performed on the same column (e.g unnest with different depth) The new schema will contains post-unnest fields replacing the original field - validate_
unique_ names - Errors if one or more expressions have equal names.
- wrap_
projection_ for_ join_ if_ necessary - Wrap projection for a plan, if the join keys contains normal expression.