Skip to main content

intervalLengthSum

Introduced in: v21.7.0 Takes multiple numeric ranges and calculates the total length when all overlapping parts are combined into a single unified range.
Arguments must be of the same data type. Otherwise, an exception will be thrown.
Syntax
Arguments Returned value Returns the total length of union of all ranges (segments on numeric axis). Depending on the type of the argument, the return value may be UInt64 or Float64 type. UInt64 or Float64 Examples Float32 example
Query
Response
DateTime example
Query
Response
Date example
Query
Response
Last modified on July 2, 2026