Module datafusion_expr::expr
source · Expand description
Expr module contains core type definition for Expr
.
Structs
- Aggregate function
- Alias expression
- BETWEEN expression
- Binary expression
- CASE expression
- Cast expression
- Returns the field of a [
arrow::array::ListArray
] or [arrow::array::StructArray
] bykey
. SeeGetFieldAccess
for details. - InList expression
- IN subquery
- LIKE expression
- Placeholder
- ScalarFunction expression
- ScalarUDF expression
- SORT expression
- TryCast Expression
- Window function
Enums
Expr
is a central struct of DataFusion’s query API, and represent logical expressions such asA + 1
, orCAST(c1 AS int)
.- Access a sub field of a nested type, such as
Field
orList
- Grouping sets See https://www.postgresql.org/docs/current/queries-table-expressions.html#QUERIES-GROUPING-SETS for Postgres definition. See https://spark.apache.org/docs/latest/sql-ref-syntax-qry-select-groupby.html for Apache Spark definition.