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 →
連続する行どうしの算術差を合計します。
deltaSumTimestamp
runningDifference
deltaSum(x1[, x2, ...])
x1[, x2, ...]
Integer
Float
(U)Int*
Float*
SELECT deltaSum(arrayJoin([1, 2, 3]))
┌─deltaSum(arrayJoin([1, 2, 3]))─┐ │ 2 │ └────────────────────────────────┘
SELECT deltaSum(arrayJoin([1, 2, 3, 0, 3, 4, 2, 3]))
┌─deltaSum(arrayJoin([1, 2, 3, 0, 3, 4, 2, 3]))─┐ │ 7 │ └───────────────────────────────────────────────┘
SELECT deltaSum(arrayJoin([2.25, 3, 4.5]))
┌─deltaSum(arrayJoin([2.25, 3, 4.5]))─┐ │ 2.25 │ └─────────────────────────────────────┘
このページは役に立ちましたか?