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 →
对一系列数字执行按位 或 运算。
或
groupBitOr(expr)
BIT_OR
expr
(U)Int*
CREATE TABLE t (num UInt32) ENGINE = Memory; INSERT INTO t VALUES (44), (28), (13), (85); -- 测试数据: -- 二进制 十进制 -- 00101100 = 44 -- 00011100 = 28 -- 00001101 = 13 -- 01010101 = 85 SELECT groupBitOr(num) FROM t;
-- 结果: -- 二进制 十进制 -- 01111101 = 125 ┌─groupBitOr(num)─┐ │ 125 │ └─────────────────┘
此页面对您有帮助吗?