Expand description

Expression utilities

Constants

The value to which COUNT(*) is expanded to in COUNT(<constant>) expressions

Functions

can this data type be used in hash join equal conditions?? data types here come from function ‘equal_rows’, if more data types are supported in equal_rows(hash join), add those data types here to generate join logical plan.

Convert an expression into Column expression if it’s already provided as input plan.

Resolves an Expr::Wildcard to a collection of qualified Expr::Column’s.

Resolves an Expr::Wildcard to a collection of Expr::Column’s.

Convert any Expr to an Expr::Column.

Recursively walk an expression tree, collecting the unique set of columns referenced in the expression

Recursively walk a list of expression trees, collecting the unique set of columns referenced in the expression

Create field meta-data from an expression, for use in a result set schema

Collect all deeply nested Expr::AggregateFunction and Expr::AggregateUDF. They are returned in order of occurrence (depth first), with duplicates omitted.

Collect all deeply nested Expr::Column’s. They are returned in order of appearance (depth first), and may contain duplicates.

Collect all deeply nested Expr::Sort. They are returned in order of occurrence (depth first), with duplicates omitted.

Collect all deeply nested Expr::WindowFunction. They are returned in order of occurrence (depth first), with duplicates omitted.

Returns a new logical plan based on the original one with inputs and expressions replaced.

Generate a sort key for a given window expr’s partition_by and order_bu expr

group a slice of window expression expr by their order by expressions

Find all distinct exprs in a list of group by expressions. If the first element is a GroupingSet expression then it must be the only expr.