You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/03/31 06:57:03 UTC

[GitHub] [arrow] lccnl opened a new issue #12761: [Python] replace_with_mask seg faults

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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [arrow] lidavidm commented on issue #12761: [Python] replace_with_mask seg faults

Posted by GitBox <gi...@apache.org>.
lidavidm commented on issue #12761:
URL: https://github.com/apache/arrow/issues/12761#issuecomment-1084490811


   Thank you! I've crossposted this on GitHub, do you mind if we keep the discussion there?


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [arrow] lccnl commented on issue #12761: [Python] replace_with_mask seg faults

Posted by GitBox <gi...@apache.org>.
lccnl commented on issue #12761:
URL: https://github.com/apache/arrow/issues/12761#issuecomment-1084500931


   yes sure, can you keep this issue open though until it is solved? 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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org