Artem KOZHEVNIKOV created ARROW-6857:
----------------------------------------

             Summary: 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


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)

Reply via email to