Module plan

Module plan 

Source
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.
ColumnUnnestList
Represent the unnesting operation on a list column, such as the recursion depth and the output column name after unnesting
DescribeTable
Describe the schema of table
DistinctOn
Removes duplicate rows from the input
EmptyRelation
Relationship produces 0 or 1 placeholder rows with specified output schema In most cases the output schema for EmptyRelation would 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
ExplainOption
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 n tuples from its input and discards the rest.
Projection
Evaluates an arbitrary list of expressions (essentially a SELECT with an expression list) on its input.
RecursiveQuery
A variadic query operation, Recursive CTE.
Repartition
Sort
Sorts its input according to a list of sort expressions.
StringifiedPlan
Represents some sort of execution plan, in String form
Subquery
Subquery
SubqueryAlias
Aliased subquery
TableScan
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 UnnestOptions for 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
FetchType
Different types of fetch expression in Limit plan.
JoinConstraint
Join constraint
JoinType
Join type
LogicalPlan
A LogicalPlan is a node in a tree of relational operators (such as Projection or Filter).
Partitioning
Logical partitioning schemes supported by LogicalPlan::Repartition
PlanType
Represents which type of plan, when storing multiple for use in EXPLAIN plans
SkipType
Different types of skip expression in Limit plan.

Traitsยง

ToStringifiedPlan
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 input plan according to projection expressions exprs.
contains_grouping_set ๐Ÿ”’
Checks whether any expression in group_expr contains Expr::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.