mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 11:22:12 +00:00
09c49d3842
Given a series of beginning time and ending time of events, this function calculates concurrency of the events at each of the data point, that is, the beginning time.
20 lines
127 B
Plaintext
20 lines
127 B
Plaintext
Invocation with Date columns
|
|
1
|
|
2
|
|
3
|
|
2
|
|
1
|
|
Invocation with DateTime
|
|
1
|
|
2
|
|
3
|
|
2
|
|
1
|
|
Invocation with DateTime64
|
|
1
|
|
2
|
|
3
|
|
2
|
|
1
|
|
Erroneous cases
|