VeloDB Cloud
SQL Manual
Functions
bitmap-functions
bitmap_max

bitmap_max

Description

Syntax:

BIGINT BITMAP_MAX(BITMAP input)

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

Example

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

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

Keywords

BITMAP_MAX,BITMAP