[ 
https://issues.apache.org/jira/browse/ARROW-6857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16951152#comment-16951152
 ] 

Antoine Pitrou commented on ARROW-6857:
---------------------------------------

Thanks for the report. Indeed it seems like there's a regression here.

> 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
>
>          Time Spent: 10m
>  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)

Reply via email to