Cleanup 01040_distributed_directory_monitor_batch_inserts

This commit is contained in:
Azat Khuzhin 2020-04-14 20:38:34 +03:00
parent 673ddc9d77
commit 5ffd8bdd75

View File

@ -2,8 +2,11 @@ SET distributed_directory_monitor_batch_inserts=1;
SET distributed_directory_monitor_sleep_time_ms=10; SET distributed_directory_monitor_sleep_time_ms=10;
SET distributed_directory_monitor_max_sleep_time_ms=100; SET distributed_directory_monitor_max_sleep_time_ms=100;
CREATE TABLE test (key UInt64) ENGINE=TinyLog(); DROP TABLE IF EXISTS test_01040;
CREATE TABLE dist_test AS test Engine=Distributed(test_cluster_two_shards, currentDatabase(), test, key); DROP TABLE IF EXISTS dist_test_01040;
INSERT INTO dist_test SELECT toUInt64(number) FROM numbers(2);
SYSTEM FLUSH DISTRIBUTED dist_test; CREATE TABLE test_01040 (key UInt64) ENGINE=TinyLog();
SELECT * FROM dist_test; CREATE TABLE dist_test_01040 AS test_01040 Engine=Distributed(test_cluster_two_shards, currentDatabase(), test_01040, key);
INSERT INTO dist_test_01040 SELECT toUInt64(number) FROM numbers(2);
SYSTEM FLUSH DISTRIBUTED dist_test_01040;
SELECT * FROM dist_test_01040;