[
https://issues.apache.org/jira/browse/ARROW-6857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated ARROW-6857:
----------------------------------
Labels: pull-request-available (was: )
> 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: 0.15.1
>
>
> 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)