メインコンテンツまでスキップ
バージョン: 3.2

bitmap_or

説明​

2つの入力ビットマップの和集合を計算し、新しいビットマップを返します。

構文​

BITMAP BITMAP_OR(BITMAP lhs, BITMAP rhs)

例​

MySQL > select bitmap_count(bitmap_or(to_bitmap(1), to_bitmap(2))) cnt;
+------+
| cnt |
+------+
| 2 |
+------+

MySQL > select bitmap_count(bitmap_or(to_bitmap(1), to_bitmap(1))) cnt;
+------+
| cnt |
+------+
| 1 |
+------+

キーワード​

BITMAP_OR, BITMAP

Rocky the happy otterStarRocks Assistant

AI generated answers are based on docs and other sources. Please test answers in non-production environments.