[ https://issues.apache.org/jira/browse/ARROW-4766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17661788#comment-17661788 ]
Rok Mihevc commented on ARROW-4766: ----------------------------------- This issue has been migrated to [issue #21285|https://github.com/apache/arrow/issues/21285] on GitHub. Please see the [migration documentation|https://github.com/apache/arrow/issues/14542] for further details. > [C++] Casting empty boolean array causes segfault > ------------------------------------------------- > > Key: ARROW-4766 > URL: https://issues.apache.org/jira/browse/ARROW-4766 > Project: Apache Arrow > Issue Type: Bug > Components: C++ > Affects Versions: 0.12.0 > Reporter: Keith Kraus > Assignee: Francois Saint-Jacques > Priority: Blocker > Labels: pull-request-available > Fix For: 0.13.0 > > Time Spent: 0.5h > Remaining Estimate: 0h > > Reproducer: > {code:python} > import pyarrow as pa > test = pa.array([], type=pa.bool_()) > test2 = test.cast(pa.int8()) > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)