Replace 1070 by 1970 in 02251_last_day_of_month test

This commit is contained in:
Roman Vasin 2022-10-05 11:24:36 +00:00
parent 1ed609496f
commit 8fafe8bbad

View File

@ -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)