mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 16:50:48 +00:00
More tests
This commit is contained in:
parent
1610bcca89
commit
7892edc490
@ -13,3 +13,18 @@
|
||||
1970-01-13 3 1970
|
||||
1970-01-14 3 1970
|
||||
1970-01-15 3 1970
|
||||
1970-01-02 00:00:00 1 1970
|
||||
1970-01-03 00:00:00 1 1970
|
||||
1970-01-04 00:00:00 1 1970
|
||||
1970-01-05 00:00:00 2 1970
|
||||
1970-01-06 00:00:00 2 1970
|
||||
1970-01-07 00:00:00 2 1970
|
||||
1970-01-08 00:00:00 2 1970
|
||||
1970-01-09 00:00:00 2 1970
|
||||
1970-01-10 00:00:00 2 1970
|
||||
1970-01-11 00:00:00 2 1970
|
||||
1970-01-12 00:00:00 3 1970
|
||||
1970-01-13 00:00:00 3 1970
|
||||
1970-01-14 00:00:00 3 1970
|
||||
1970-01-15 00:00:00 3 1970
|
||||
1970-01-16 00:00:00 3 1970
|
||||
|
@ -1 +1,3 @@
|
||||
SELECT toDate('1970-01-01') + number AS d, toISOWeek(d), toISOYear(d) FROM numbers(15);
|
||||
SELECT toDate('1970-01-01') + number AS d, toISOWeek(d), toISOYear(d) FROM numbers(15);
|
||||
-- Note that 1970-01-01 00:00:00 in Moscow is before unix epoch.
|
||||
SELECT toDateTime(toDate('1970-01-02') + number, 'Europe/Moscow') AS t, toISOWeek(t), toISOYear(t) FROM numbers(15);
|
||||
|
Loading…
Reference in New Issue
Block a user