Will Jones created ARROW-17944:
----------------------------------
Summary: [Python] Accept bytes object in
pyarrow.substrait.run_query
Key: ARROW-17944
URL: https://issues.apache.org/jira/browse/ARROW-17944
Project: Apache Arrow
Issue Type: Improvement
Components: Python
Reporter: Will Jones
Fix For: 11.0.0
{{pyarrow.substrait.run_query()}} only accepts a PyArrow buffer, and will
segfault if something else is passed. People might try to pass a Python bytes
object, which isn't unreasonable. For example, they might use the value
returned by protobufs {{SerializeToString()}} function, which is Python bytes.
At the very least, we should not segfault.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)