You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "sgilmore10 (via GitHub)" <gi...@apache.org> on 2025/08/06 20:47:10 UTC
[PR] GH-47263: [MATLAB] Add `NumNulls` property to `arrow.array.ChunkedArray` class [arrow]
sgilmore10 opened a new pull request, #47264:
URL: https://github.com/apache/arrow/pull/47264
### Rationale for this change
This is a followup to #38422. Now that `NumNulls` is a property on `arrow.array.Array`, we should add `NumNulls` as a property on `arrow.array.ChunkedArray`.
### What changes are included in this PR?
Added `NumNulls` as a property to `arrow.array.ChunkedArray`.
**Example**:
```matlab
>> a1 = arrow.array(1:10);
>> a2 = arrow.array([11 12 NaN 14 NaN]);
>> a3 = arrow.array([16 17 NaN 18 19]);
>> a4 = arrow.array(20:30);
>> C1 = arrow.array.ChunkedArray.fromArrays(a1, a2, a3)
C1 =
ChunkedArray with properties:
Type: [1×1 arrow.type.Float64Type]
NumChunks: 4
NumElements: 31
NumNulls: 3
>> C1.NumNulls
ans =
int64
3
```
### Are these changes tested?
1. Added a `NumNullsNoSetter` test case to `tChunkedArray.m`.
2. Updated `tChunkedArray/verifyChunkedArray` helper method to verify the `NumNulls` property value is set to the expected value.
### Are there any user-facing changes?
Yes. `arrow.array.ChunkedArray` has a new public property called `NumNulls`.
--
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: [PR] GH-47263: [MATLAB] Add `NumNulls` property to `arrow.array.ChunkedArray` class [arrow]
Posted by "conbench-apache-arrow[bot] (via GitHub)" <gi...@apache.org>.
conbench-apache-arrow[bot] commented on PR #47264:
URL: https://github.com/apache/arrow/pull/47264#issuecomment-3162947487
After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit 221484804ffae19bf55d7198e5773d9e956b7b42.
There weren't enough matching historic benchmark results to make a call on whether there were regressions.
The [full Conbench report](https://github.com/apache/arrow/runs/47573884523) has more details.
--
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: [PR] GH-47263: [MATLAB] Add `NumNulls` property to `arrow.array.ChunkedArray` class [arrow]
Posted by "kou (via GitHub)" <gi...@apache.org>.
kou merged PR #47264:
URL: https://github.com/apache/arrow/pull/47264
--
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