diff --git a/tests/queries/0_stateless/01560_monotonicity_check_multiple_args_bug.reference b/tests/queries/0_stateless/01560_monotonicity_check_multiple_args_bug.reference index b0a59aa58cc..5d632f2f5b8 100644 --- a/tests/queries/0_stateless/01560_monotonicity_check_multiple_args_bug.reference +++ b/tests/queries/0_stateless/01560_monotonicity_check_multiple_args_bug.reference @@ -1,4 +1,4 @@ -2020-11-12 20.12.1.1 -2020-11-13 20.12.1.1 -2020-11-12 20.12.1.1 -2020-11-13 20.12.1.1 +2020-11-12 +2020-11-13 +2020-11-12 +2020-11-13 diff --git a/tests/queries/0_stateless/01560_monotonicity_check_multiple_args_bug.sql b/tests/queries/0_stateless/01560_monotonicity_check_multiple_args_bug.sql index d2afd4b29be..befc13be8eb 100644 --- a/tests/queries/0_stateless/01560_monotonicity_check_multiple_args_bug.sql +++ b/tests/queries/0_stateless/01560_monotonicity_check_multiple_args_bug.sql @@ -1,19 +1,17 @@ WITH arrayJoin(range(2)) AS delta SELECT - toDate(time) + toIntervalDay(delta) AS dt, - version() + toDate(time) + toIntervalDay(delta) AS dt FROM ( - SELECT NOW() AS time + SELECT toDateTime('2020.11.12 19:02:04') AS time ) ORDER BY dt ASC; WITH arrayJoin([0, 1]) AS delta SELECT - toDate(time) + toIntervalDay(delta) AS dt, - version() + toDate(time) + toIntervalDay(delta) AS dt FROM ( - SELECT NOW() AS time + SELECT toDateTime('2020.11.12 19:02:04') AS time ) ORDER BY dt ASC;