Module sql::plan::expr[][src]

Expand description

This file houses a representation of a SQL plan that is parallel to that found in src/expr/relation/mod.rs, but represents an earlier phase of planning. It’s structurally very similar to that file, with some differences which are noted below. It gets turned into that representation via a call to decorrelate().

Structs

Specification for an ordering by a column.

A leveled column reference.

Represents the invocation of a window function over a partition with an optional order.

Enums

Aggregate functions analogous to expr::AggregateFunc, but whose types may be different.

A CoercibleScalarExpr is a HirScalarExpr whose type is not fully determined. Several SQL expressions can be freely coerced based upon where in the expression tree they appear. For example, the string literal ‘42’ will be automatically coerced to the integer 42 if used in a numeric context:

Just like MirRelationExpr, except where otherwise noted below.

Just like expr::MirScalarExpr, except where otherwise noted below.

Scalar Window functions

A window function with its parameters.

Traits

A column type-like object whose underlying scalar type-like object can be ascertained.

An expression whose type can be ascertained.