v.22.1Improvement

Bitmap aggregate functions handle out of range arguments correctly

Bitmap aggregate functions will give correct result for out of range argument instead of wraparound. #33127 (DR).
Bitmap aggregate functions now return correct results when given out-of-range arguments, preventing wraparound errors.

Why it matters

This feature fixes an issue where bitmap aggregate functions produced incorrect results due to argument wraparound when input values were out of the expected range. It ensures accurate aggregation results, improving reliability and correctness in bitmap operations.

How to use it

No special configuration is required. Users automatically benefit from this fix when using bitmap aggregate functions with any valid input values.