| [ Web Proxy ] |
| Viewing: https://arrow.apache.org/docs/python/api/../generated/pyarrow.substrait.serialize_expressions.html | [Back] [Original] |
Section Navigation
Serialize a collection of expressions into Substrait
Substrait expressions must be bound to a schema. For example,
the Substrait expression a:i32 + b:i32 is different from the
Substrait expression a:i64 + b:i64. Pyarrow expressions are
typically unbound. For example, both of the above expressions
would be represented as a + b in pyarrow.
This means a schema must be provided when serializing an expression. It also means that the serialization may fail if a matching function call cannot be found for the expression.
list of ExpressionThe expressions to serialize
list of strNames for the expressions
SchemaThe schema the expressions will be bound to
FalseIf False then only functions that are part of the core Substrait function definitions will be allowed. Set this to True to allow pyarrow-specific functions and user defined functions but the result may not be accepted by other compute libraries.
BufferAn ExtendedExpression message containing the serialized expressions
Copyright 2016-2026 Apache Software Foundation.
Apache Arrow, Arrow, Apache, the Apache logo, and the Apache Arrow project logo are either registered trademarks or trademarks of The Apache Software Foundation in the United States and other countries.
Created using Sphinx 9.1.0.
Built with the PyData Sphinx Theme 0.20.0.
| Web Proxy Viewer | New URL | Original Page |