mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 11:32:03 +00:00
Replace 1070 by 1970 in 02251_last_day_of_month test
This commit is contained in:
parent
1ed609496f
commit
8fafe8bbad
@ -47,7 +47,7 @@ SELECT last_day(date_value), LAST_DAY(date_value);
|
|||||||
|
|
||||||
-- boundaries
|
-- boundaries
|
||||||
WITH
|
WITH
|
||||||
toDate('1070-01-01') AS date_value,
|
toDate('1970-01-01') AS date_value,
|
||||||
toDateTime('1970-01-01 11:22:33') AS date_time_value,
|
toDateTime('1970-01-01 11:22:33') AS date_time_value,
|
||||||
toDateTime64('1900-01-01 11:22:33', 3) AS date_time_64_value
|
toDateTime64('1900-01-01 11:22:33', 3) AS date_time_64_value
|
||||||
SELECT toLastDayOfMonth(date_value), toLastDayOfMonth(date_time_value), toLastDayOfMonth(date_time_64_value)
|
SELECT toLastDayOfMonth(date_value), toLastDayOfMonth(date_time_value), toLastDayOfMonth(date_time_64_value)
|
||||||
|
Loading…
Reference in New Issue
Block a user