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 lower().
Structs§
- Specification for an ordering by a column.
- A leveled column reference.
- Represents the invocation of a window function over an optional partitioning with an optional order.
- Describe a window frame, e.g.
RANGE UNBOUNDED PRECEDING
orROWS BETWEEN 5 PRECEDING AND CURRENT ROW
.
Enums§
- Aggregate functions analogous to
mz_expr::AggregateFunc
, but whose types may be different. - The column type for a
CoercibleScalarExpr
. - A
CoercibleScalarExpr
is aHirScalarExpr
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: - The scalar type for a
CoercibleScalarExpr
. - Just like
mz_expr::MirRelationExpr
, except where otherwise noted below. - Just like
mz_expr::MirScalarExpr
, except where otherwise noted below. - Scalar Window functions
- Value 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.