ClickHouse/tests/queries/0_stateless/02457_tuple_of_intervals.reference

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
441 B
Plaintext
Raw Normal View History

2022-10-09 00:00:14 +00:00
SELECT (toIntervalSecond(-1), toIntervalMinute(2), toIntervalMonth(-3), toIntervalYear(1))
2022-10-14 02:16:12 +00:00
---
3 IntervalSecond
(1,2) Tuple(IntervalHour, IntervalSecond)
(1,1,1) Tuple(IntervalSecond, IntervalHour, IntervalSecond)
(2,1) Tuple(IntervalSecond, IntervalHour)
---
-3 IntervalSecond
(-1,-2) Tuple(IntervalHour, IntervalSecond)
(-1,-1,-1) Tuple(IntervalSecond, IntervalHour, IntervalSecond)
(-2,-1) Tuple(IntervalSecond, IntervalHour)
---
1
1
1
1