Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Array::logical_null_count for inspecting number of null values #6608

Merged
merged 1 commit into from
Oct 22, 2024

Commits on Oct 21, 2024

  1. Add Array::logical_null_count for inspecting number of null values

    Add counter-part of `Array::null_count`, but counting the logical null
    values. This will be useful in DataFusion. Current alternative is to
    compute null mask (via `Array::logical_nulls()`) and do counting on it.
    Given this might be expensive and verbose, caller may naturally feel
    steer towards `Array::null_count` which may or may not be applicable,
    depending on the context.
    findepi committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    5c22898 View commit details
    Browse the repository at this point in the history