From a02f3a895a836aa55d72fce1ee56a0a87276d83c Mon Sep 17 00:00:00 2001 From: Alexander Kuzmenkov Date: Thu, 3 Jun 2021 13:01:44 +0300 Subject: [PATCH] fix the test --- tests/queries/0_stateless/01571_window_functions.reference | 2 +- tests/queries/0_stateless/01571_window_functions.sql | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/queries/0_stateless/01571_window_functions.reference b/tests/queries/0_stateless/01571_window_functions.reference index c0a84c104c6..47a7c062b0b 100644 --- a/tests/queries/0_stateless/01571_window_functions.reference +++ b/tests/queries/0_stateless/01571_window_functions.reference @@ -1,6 +1,6 @@ -- { echo } -- Another test for window functions because the other one is too long. - +set allow_experimental_window_functions = 1; -- expressions in window frame select count() over (rows between 1 + 1 preceding and 1 + 1 following) from numbers(10); 3 diff --git a/tests/queries/0_stateless/01571_window_functions.sql b/tests/queries/0_stateless/01571_window_functions.sql index 086b2223fbc..614b98670b2 100644 --- a/tests/queries/0_stateless/01571_window_functions.sql +++ b/tests/queries/0_stateless/01571_window_functions.sql @@ -1,5 +1,6 @@ -- { echo } -- Another test for window functions because the other one is too long. +set allow_experimental_window_functions = 1; -- expressions in window frame select count() over (rows between 1 + 1 preceding and 1 + 1 following) from numbers(10);