VeloDB Cloud
SQL Manual
Functions
bitmap-functions
bitmap_min

bitmap_min

Description

Syntax:

BIGINT BITMAP_MIN(BITMAP input)

This function calculates and returns the minimum value of a bitmap.

Example

mysql> select bitmap_min(bitmap_from_string('')) value;
+-------+
| value |
+-------+
|  NULL |
+-------+

mysql> select bitmap_min(bitmap_from_string('1,9999999999')) value;
+-------+
| value |
+-------+
|     1 |
+-------+

Keywords

BITMAP_MIN,BITMAP