Skip to main content
Scalar function
Returns NULL for NULL input.

Syntax

Scalar

Arguments

Returns

  • Type: BIGINT
  • Possible values: The total population count across every byte; zero for an empty bitmap.
  • NULL behavior: Returns NULL for NULL input.

Properties

Examples

Typical behavior

Count set bits rather than bytes

Last modified on October 15, 2026