You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "pitrou (via GitHub)" <gi...@apache.org> on 2026/04/28 14:13:56 UTC
[I] [C++][Compute] `count` kernel miscounts when run-end encoded array contains null [arrow]
pitrou opened a new issue, #49888:
URL: https://github.com/apache/arrow/issues/49888
### Describe the bug, including details regarding any error messages, version, and platform.
See this snippet:
```python
>>> a = pa.array([11,11,11,42,42,5,None])
>>> r = pc.run_end_encode(a)
>>> pc.count(a, mode='only_valid')
<pyarrow.Int64Scalar: 6>
>>> pc.count(a, mode='only_null')
<pyarrow.Int64Scalar: 1>
>>> pc.count(a, mode='all')
<pyarrow.Int64Scalar: 7>
>>> pc.count(r, mode='only_valid')
<pyarrow.Int64Scalar: 7>
>>> pc.count(r, mode='only_null')
<pyarrow.Int64Scalar: 0>
>>> pc.count(r, mode='all')
<pyarrow.Int64Scalar: 7>
```
A similar issue in `hash_count` was fixed in #35059.
### Component(s)
C++
--
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: issues-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [C++][Compute] `count` kernel miscounts when run-end encoded array contains null [arrow]
Posted by "pitrou (via GitHub)" <gi...@apache.org>.
pitrou closed issue #49888: [C++][Compute] `count` kernel miscounts when run-end encoded array contains null
URL: https://github.com/apache/arrow/issues/49888
--
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: issues-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [C++][Compute] `count` kernel miscounts when run-end encoded array contains null [arrow]
Posted by "fenfeng9 (via GitHub)" <gi...@apache.org>.
fenfeng9 commented on issue #49888:
URL: https://github.com/apache/arrow/issues/49888#issuecomment-4361223319
I'd like to give this a try.
--
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
Re: [I] [C++][Compute] `count` kernel miscounts when run-end encoded array contains null [arrow]
Posted by "pitrou (via GitHub)" <gi...@apache.org>.
pitrou commented on issue #49888:
URL: https://github.com/apache/arrow/issues/49888#issuecomment-4389050170
Issue resolved by pull request 49908
https://github.com/apache/arrow/pull/49908
--
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