Commits


Junming Chen authored and GitHub committed b1f1ef4cda1
GH-38457: [C++] Support LogicalNullCount for DictionaryArray (#38681) ### Rationale for this change Currently, the `null_count` only returns the number of null values in `indices`. We want to count the real nulls as the dictionary array is decoded. ### What changes are included in this PR? Add `DictionaryMayHaveLogicalNulls` and `ComputeLogicalNullCount` for DictionaryArray ### Are these changes tested? Yes ### Are there any user-facing changes? No. * Closes: #38457 Lead-authored-by: Junming Chen <junming.chen.r@outlook.com> Co-authored-by: Benjamin Kietzman <bengilgit@gmail.com> Co-authored-by: Sutou Kouhei <kou@cozmixng.org> Signed-off-by: Benjamin Kietzman <bengilgit@gmail.com>