Fix tests

This commit is contained in:
Alexey Milovidov 2024-01-14 07:18:06 +01:00
parent 3151b5fd0f
commit e9e6070899
3 changed files with 2 additions and 3 deletions

View File

@ -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;

View File

@ -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;