diff --git a/tests/queries/0_stateless/01099_operators_date_and_timestamp.reference b/tests/queries/0_stateless/01099_operators_date_and_timestamp.reference index 103053a19f0..0d8a65c3869 100644 --- a/tests/queries/0_stateless/01099_operators_date_and_timestamp.reference +++ b/tests/queries/0_stateless/01099_operators_date_and_timestamp.reference @@ -1,13 +1,13 @@ 1 1 1 1 1 1 1 1 -2001-09-28 -2001-10-05 Date +2001-09-29 +2001-10-06 Date 2001-09-24 Date -2001-10-05 Date +2001-10-06 Date 2001-09-24 Date -2001-09-28 01:00:00 DateTime -2001-09-27 23:00:00 DateTime +2001-09-29 01:00:00 DateTime +2001-09-28 23:00:00 DateTime 3 Int32 2001-09-29 00:00:00 2001-09-28 00:00:00 diff --git a/tests/queries/0_stateless/01099_operators_date_and_timestamp.sql b/tests/queries/0_stateless/01099_operators_date_and_timestamp.sql index c630e19490d..8c3068cd36b 100644 --- a/tests/queries/0_stateless/01099_operators_date_and_timestamp.sql +++ b/tests/queries/0_stateless/01099_operators_date_and_timestamp.sql @@ -2,13 +2,13 @@ select interval 1 second, interval 1 minute, interval 1 hour; select interval 1 day, interval 1 week, interval 1 month; select interval 1 quarter, interval 1 year; -select date '2001-09-28'; -select (date '2001-09-28' + interval 7 day) x, toTypeName(x); +select date '2001-09-29'; +select (date '2001-09-29' + interval 7 day) x, toTypeName(x); select (date '2001-10-01' - interval 7 day) x, toTypeName(x); -select (date '2001-09-28' + 7) x, toTypeName(x); +select (date '2001-09-29' + 7) x, toTypeName(x); select (date '2001-10-01' - 7) x, toTypeName(x); -select (date '2001-09-28' + interval 1 hour) x, toTypeName(x); -select (date '2001-09-28' - interval 1 hour) x, toTypeName(x); +select (date '2001-09-29' + interval 1 hour) x, toTypeName(x); +select (date '2001-09-29' - interval 1 hour) x, toTypeName(x); select (date '2001-10-01' - date '2001-09-28') x, toTypeName(x); select timestamp '2001-09-28 01:00:00' + interval 23 hour; select timestamp '2001-09-28 23:00:00' - interval 23 hour;