From 366fba4b0493904cf9a68f158b437cf6ac5a7114 Mon Sep 17 00:00:00 2001 From: Alexander Kuzmenkov <36882414+akuzm@users.noreply.github.com> Date: Mon, 1 Mar 2021 16:06:44 +0300 Subject: [PATCH] Update 01592_long_window_functions1.sql --- tests/queries/0_stateless/01592_long_window_functions1.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/queries/0_stateless/01592_long_window_functions1.sql b/tests/queries/0_stateless/01592_long_window_functions1.sql index c7751ab9f33..bb0f77ff60a 100644 --- a/tests/queries/0_stateless/01592_long_window_functions1.sql +++ b/tests/queries/0_stateless/01592_long_window_functions1.sql @@ -1,6 +1,7 @@ drop table if exists stack; set allow_experimental_window_functions = 1; +set max_insert_threads = 4; create table stack(item_id Int64, brand_id Int64, rack_id Int64, dt DateTime, expiration_dt DateTime, quantity UInt64) Engine = MergeTree @@ -10,7 +11,7 @@ order by (brand_id, toStartOfHour(dt)); insert into stack select number%99991, number%11, number%1111, toDateTime('2020-01-01 00:00:00')+number/100, toDateTime('2020-02-01 00:00:00')+number/10, intDiv(number,100)+1 -from numbers(10000000); +from numbers_mt(10000000); select '---- arrays ----';