跳到主要内容

BITMAP_MAX

bitmap_max

description

Syntax

BIGINT BITMAP_MAX(BITMAP input)

计算并返回 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