arrow icon indicating copy to clipboard operation
arrow copied to clipboard

[C++] Add `ComputeLogicalNullCount` method to `ChunkedArray`

Open pitrou opened this issue 5 months ago • 5 comments

Describe the enhancement requested

We have a ComputeLogicalNullCount on Array and ArrayData to compute the logical null count of run-end-encoded arrays and other likewise arrays with logical nulls, such as unions.

However, this functionality is missing in ChunkedArray, which will inevitably lead to clumsy hand-written code here and there.

Component(s)

C++

pitrou avatar Jun 25 '26 14:06 pitrou

cc @tadeja @alex-placet

pitrou avatar Jun 25 '26 14:06 pitrou

Issue resolved by pull request 50261 https://github.com/apache/arrow/pull/50261

pitrou avatar Jun 29 '26 09:06 pitrou

@goel-skd Thanks a lot for fixing this issue! Can you post here so that we can the issue to you?

pitrou avatar Jun 29 '26 13:06 pitrou

Hello, glad to be contributing here @pitrou Yes, please assign this issue to me.

goel-skd avatar Jun 29 '26 13:06 goel-skd

I opened https://github.com/apache/arrow/issues/50338 to have a similar method on Datum.

pitrou avatar Jul 02 '26 14:07 pitrou