Module substrait::proto::expression

source ·
Expand description

Nested message and enum types in Expression.

Modules§

Structs§

  • A reference to an inner part of a complex object. Can reference reference a single element or a masked version of elements
  • A reference that takes an existing subtype and selectively removes fields from it. For example, one might initially have an inner struct with 100 fields but a a particular operation only needs to interact with only 2 of those 100 fields. In this situation, one would use a mask expression to eliminate the 98 fields that are not relevant to the rest of the operation pipeline.
  • Expression to dynamically construct nested types.
  • A way to reference the inner property of a complex record. Can reference either a map key by literal, a struct field by the ordinal position of the desired field or a particular element in an array. Supports expressions that would roughly translate to something similar to: a.b[2].c[‘my_map_key’].x where a,b,c and x are struct field references (ordinalized in the internal representation here), [2] is a list offset and [‘my_map_key’] is a reference into a map field.
  • A scalar function call.
  • Subquery relation expression
  • A window function call.

Enums§