Expand description
Logical plan types
Structsยง
- Aggregate
- Aggregates its input based on a set of grouping and aggregate expressions (e.g. SUM).
- Analyze
- Runs the actual plan, and then prints the physical plan with with execution metrics.
- Column
Unnest List - Represent the unnesting operation on a list column, such as the recursion depth and the output column name after unnesting
- Describe
Table - Describe the schema of table
- Distinct
On - Removes duplicate rows from the input
- Empty
Relation - Relationship produces 0 or 1 placeholder rows with specified output schema
In most cases the output schema for
EmptyRelationwould be empty, however, it can be non-empty typically for optimizer rules - Explain
- Produces a relation with string representations of various parts of the plan
- Explain
Option - Options for EXPLAIN
- Extension
- Extension operator defined outside of DataFusion
- Filter
- Filters rows from its input that do not match an expression (essentially a WHERE clause with a predicate expression).
- Join
- Join two logical plans on one or more join columns
- Limit
- Produces the first
ntuples from its input and discards the rest. - Projection
- Evaluates an arbitrary list of expressions (essentially a SELECT with an expression list) on its input.
- Recursive
Query - A variadic query operation, Recursive CTE.
- Repartition
- Sort
- Sorts its input according to a list of sort expressions.
- Stringified
Plan - Represents some sort of execution plan, in String form
- Subquery
- Subquery
- Subquery
Alias - Aliased subquery
- Table
Scan - Produces rows from a table provider by reference or from the context
- Union
- Union multiple inputs
- Unnest
- Unnest a column that contains a nested list type. See
UnnestOptionsfor more details. - Values
- Values expression. See Postgres VALUES documentation for more details.
- Window
- Window its input based on a set of window spec and window function (e.g. SUM or RANK)
Enumsยง
- Distinct
- Removes duplicate rows from the input
- Fetch
Type - Different types of fetch expression in Limit plan.
- Join
Constraint - Join constraint
- Join
Type - Join type
- Logical
Plan - A
LogicalPlanis a node in a tree of relational operators (such as Projection or Filter). - Partitioning
- Logical partitioning schemes supported by
LogicalPlan::Repartition - Plan
Type - Represents which type of plan, when storing multiple for use in EXPLAIN plans
- Skip
Type - Different types of skip expression in Limit plan.
Traitsยง
- ToStringified
Plan - Trait for something that can be formatted as a stringified plan
Functionsยง
- calc_
func_ ๐dependencies_ for_ aggregate - Calculates functional dependencies for aggregate expressions.
- calc_
func_ ๐dependencies_ for_ project - This function projects functional dependencies of the
inputplan according to projection expressionsexprs. - contains_
grouping_ ๐set - Checks whether any expression in
group_exprcontainsExpr::GroupingSet. - get_
unnested_ ๐columns - get_
unnested_ ๐list_ datatype_ recursive - projection_
schema - Computes the schema of the result produced by applying a projection to the input logical plan.