Skip to main content

Module expr

Module expr 

Source
Expand description

IR expression arena → DataFusion [Expr] lowering.

ExprLowerer is a pure, I/O-free transformation: it walks the ExprArena from a [GraphPlan] and produces DataFusion [Expr] values that can be consumed by operator lowering (#575, #576).

Structs§

ExprLowerer
Lowers IR expressions from an ExprArena into DataFusion [Expr] values.
NodeShape
The shape of a node value materialized for a bare RETURN n (#785): the node’s resolved label (if known at lowering) and the persisted property columns its scan joined in (available as var_N.<prop>).
VarMap
Maps VarIds to DataFusion column name strings.

Enums§

LoweringError
Errors that can occur when lowering an IR expression to DataFusion.

Functions§

decode_het_scalar
Decode one tagged heterogeneous scalar into its logical value.
ir_literal_to_scalar
Convert an IrLiteral to a DataFusion ScalarValue.
scalar_to_ir_literal
Convert a DataFusion ScalarValue back to an IrLiteral for storage as a property value (#791 SET).