pyarrow.substrait.deserialize_schema#

pyarrow.substrait.deserialize_schema(buf)#

Deserialize a NamedStruct Substrait message or a SubstraitSchema object into an Arrow Schema object

Parameters:
bufBuffer or bytes or SubstraitSchema

The message to deserialize

Returns:
Schema

The deserialized schema