lccnl opened a new issue #12761:
URL: https://github.com/apache/arrow/issues/12761


   Hello,
   there is currently an open issue in Jira, 
[ARROW-15928](https://issues.apache.org/jira/browse/ARROW-15928), reporting a 
seg faults with chunked arrays when the method `compute.replace_with_mask` is 
used.
   
   Actually, for `pyarrow 7.0`, I believe the error extends to larger cases 
(while for `pyarrow 6.0.1` this does not happen): it turns out that whenever 
the mask has both True and False values, seg faults occurs.
   
   The following minimal example should reproduce the error:
   ```
   import pyarrow as pa
   values=pa.array([0,1],pa.int64())
   mask=pa.array([True,False],pa.bool_())
   replace=pa.array([5],pa.int64())
   pa.compute.replace_with_mask(values,mask,replace)
   ```
   
   Thanks!
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to