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/03/17 13:31:00 UTC
[jira] [Commented] (ARROW-15960) [Python] Segfault constructing a fixed size list array of size 0 with dictionary values
[ https://issues.apache.org/jira/browse/ARROW-15960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17508191#comment-17508191 ]
Joris Van den Bossche commented on ARROW-15960:
-----------------------------------------------
Note for future person looking at this: https://github.com/apache/arrow/pull/12588 added a workaround for this in the strategies.py, so while fixing this bug, we should also remove that workaround
> [Python] Segfault constructing a fixed size list array of size 0 with dictionary values
> ---------------------------------------------------------------------------------------
>
> Key: ARROW-15960
> URL: https://issues.apache.org/jira/browse/ARROW-15960
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Reporter: Joris Van den Bossche
> Priority: Major
>
> The following example constructing a FixedSizeList array with list size 0 and dictionary values from an explicit None value (extracted from a segfaulting hypothesis test) crashes:
> {code}
> pa.array([None], pa.list_(pa.dictionary(pa.int32(), pa.string()), 0))
> {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)