Files
doris/docs/en/sql-reference/sql-functions/bitmap-functions/bitmap_max.md
2021-10-30 18:16:38 +08:00

1.2 KiB

title, language
title language
bitmap_max en

bitmap_max

description

Syntax

BIGINT BITMAP_MAX(BITMAP input)

Calculate and return the max values 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 |
+------------+

keyword

BITMAP_MAX,BITMAP