From e9e60708996c17d3ea02feba65232d90816e22c8 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Sun, 14 Jan 2024 07:18:06 +0100 Subject: [PATCH] Fix tests --- tests/queries/1_stateful/00061_storage_buffer.sql | 2 +- .../1_stateful/00152_insert_different_granularity.reference | 1 - tests/queries/1_stateful/00157_cache_dictionary.sql | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/queries/1_stateful/00061_storage_buffer.sql b/tests/queries/1_stateful/00061_storage_buffer.sql index d295e393a9d..ba43667a354 100644 --- a/tests/queries/1_stateful/00061_storage_buffer.sql +++ b/tests/queries/1_stateful/00061_storage_buffer.sql @@ -1,7 +1,7 @@ DROP TABLE IF EXISTS test.hits_dst; DROP TABLE IF EXISTS test.hits_buffer; -CREATE TABLE test.hits_dst AS test.hits SETTINGS storage_policy = 'default'; +CREATE TABLE test.hits_dst AS test.hits ENGINE = MergeTree SETTINGS storage_policy = 'default'; CREATE TABLE test.hits_buffer AS test.hits_dst ENGINE = Buffer(test, hits_dst, 8, 600, 600, 1000000, 1000000, 100000000, 1000000000); INSERT INTO test.hits_buffer SELECT * FROM test.hits WHERE CounterID = 800784; diff --git a/tests/queries/1_stateful/00152_insert_different_granularity.reference b/tests/queries/1_stateful/00152_insert_different_granularity.reference index b611ed20cf6..209e3ef4b62 100644 --- a/tests/queries/1_stateful/00152_insert_different_granularity.reference +++ b/tests/queries/1_stateful/00152_insert_different_granularity.reference @@ -1,2 +1 @@ 20 -20 diff --git a/tests/queries/1_stateful/00157_cache_dictionary.sql b/tests/queries/1_stateful/00157_cache_dictionary.sql index 0fd5112306a..82195606928 100644 --- a/tests/queries/1_stateful/00157_cache_dictionary.sql +++ b/tests/queries/1_stateful/00157_cache_dictionary.sql @@ -1,7 +1,7 @@ -- Tags: no-tsan, no-parallel DROP TABLE IF EXISTS test.hits_1m; -CREATE TABLE test.hits_1m AS test.hits SETTINGS storage_policy = 'default'; +CREATE TABLE test.hits_1m AS test.hits ENGINE = MergeTree SETTINGS storage_policy = 'default'; INSERT INTO test.hits_1m SELECT * FROM test.hits LIMIT 1000000; CREATE DATABASE IF NOT EXISTS db_dict;