You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Joris Van den Bossche (Jira)" <ji...@apache.org> on 2022/10/11 08:15:00 UTC
[jira] [Resolved] (ARROW-17944) [Python] Accept bytes object in pyarrow.substrait.run_query
[ https://issues.apache.org/jira/browse/ARROW-17944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joris Van den Bossche resolved ARROW-17944.
-------------------------------------------
Resolution: Fixed
Issue resolved by pull request 14331
[https://github.com/apache/arrow/pull/14331]
> [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
> Assignee: Miles Granger
> Priority: Major
> Labels: pull-request-available
> Fix For: 10.0.0
>
> Time Spent: 2h
> Remaining Estimate: 0h
>
> {{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)