bitmap_union_int
Count the number of different values ββin columns of type TINYINT, SMALLINT and INT, return the sum of COUNT (DISTINCT expr) same.
Syntaxβ
BIGINT bitmap_union_int(expr)
Parametersβ
expr
: column expression. The supported column type is TINYINT, SMALLINT and INT.
Return valueβ
Returns a value of the BIGINT type.
Examplesβ
mysql> select bitmap_union_int(k1) from tbl1;
+------------------------+
| bitmap_union_int(`k1`) |
+------------------------+
| 2 |
+------------------------+