Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
ClickHouse launches Claude-powered Agents and House Mates partner program at Open House 2026 Read more →
複数の数値に対してビット単位の OR を適用します。
OR
groupBitOr(expr)
BIT_OR
expr
(U)Int*
CREATE TABLE t (num UInt32) ENGINE = Memory; INSERT INTO t VALUES (44), (28), (13), (85); -- テストデータ: -- 2進数 10進数 -- 00101100 = 44 -- 00011100 = 28 -- 00001101 = 13 -- 01010101 = 85 SELECT groupBitOr(num) FROM t;
-- 結果: -- binary decimal -- 01111101 = 125 ┌─groupBitOr(num)─┐ │ 125 │ └─────────────────┘
このページは役に立ちましたか?