[
https://issues.apache.org/jira/browse/ARROW-6857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wes McKinney resolved ARROW-6857.
---------------------------------
Resolution: Fixed
Issue resolved by pull request 5650
[https://github.com/apache/arrow/pull/5650]
> [Python][C++] Segfault for dictionary_encode on empty chunked_array (edge
> case)
> -------------------------------------------------------------------------------
>
> Key: ARROW-6857
> URL: https://issues.apache.org/jira/browse/ARROW-6857
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Affects Versions: 0.15.0
> Reporter: Artem KOZHEVNIKOV
> Assignee: Antoine Pitrou
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.0.0, 0.15.1
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> a reproducer is here :
> {code:python}
> import pyarrow as pa
> aa = pa.chunked_array([pa.array(['a', 'b', 'c'])])
> aa[:0].dictionary_encode()
> # Segmentation fault: 11
> {code}
> For pyarrow=0.14, I could not reproduce.
> I use a conda version : "pyarrow 0.15.0 py37hdca360a_0 conda-forge"
--
This message was sent by Atlassian Jira
(v8.3.4#803005)