[
https://issues.apache.org/jira/browse/ARROW-12672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17340644#comment-17340644
]
Yibo Cai commented on ARROW-12672:
----------------------------------
Error comes from
https://github.com/apache/arrow/blob/60cfcf860e786859f822f206f660a27aae78125a/cpp/src/arrow/compute/exec.cc#L362
where *arr_bitmap* is null. Similar to ARROW-12568.
> segfault after `pa.Array.fill_null()`
> -------------------------------------
>
> Key: ARROW-12672
> URL: https://issues.apache.org/jira/browse/ARROW-12672
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Affects Versions: 4.0.0
> Reporter: Adam Hooper
> Priority: Major
>
> The array returned by {{pa.Array.fill_null()}} is unusable.
> {code}
> >>> import pyarrow as pa
> >>> arr = pa.array([None], pa.bool_()).fill_null(False)
> >>> arr.cast(pa.int8())
> Segmentation fault (core dumped)
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)