v.19.15New Feature

Add Bitmapmin and Bitmapmax Functions

Add bitmapMin and bitmapMax functions. #6970 (Zhichang Yu)
Introduces two new aggregate functions, bitmapMin and bitmapMax, to ClickHouse for working with bitmap data.

Why it matters

These functions enable users to efficiently compute the minimum and maximum values stored within bitmap aggregates, addressing the need for quick retrieval of range boundaries from bitmap-based data structures.

How to use it

Use the bitmapMin and bitmapMax functions in your SELECT queries to obtain the minimum or maximum value from bitmap aggregate columns, e.g., SELECT bitmapMin(bitmap_column), bitmapMax(bitmap_column) FROM table.