pyarrow.substrait.BoundExpressions#
- class pyarrow.substrait.BoundExpressions#
Bases:
_Weakrefable
A collection of named expressions and the schema they are bound to
This is equivalent to the Substrait ExtendedExpression message
- __init__(*args, **kwargs)#
Methods
__init__
(*args, **kwargs)from_substrait
(cls, message)Convert a Substrait message into a BoundExpressions object
Attributes
A dict from expression name to expression
The common schema that all expressions are bound to
- expressions#
A dict from expression name to expression
- classmethod from_substrait(cls, message)#
Convert a Substrait message into a BoundExpressions object
- Parameters:
- message
Buffer
orbytes
orprotobuf
Message
The message to convert to a BoundExpressions object
- message
- Returns:
BoundExpressions
The converted expressions, their names, and the bound schema
- schema#
The common schema that all expressions are bound to