set prefer_localhost_replica for 02291_join_const_literal_36279

This commit is contained in:
vdimir 2022-05-04 11:29:36 +00:00
parent ffb0570cae
commit 4534f43b68
No known key found for this signature in database
GPG Key ID: 6EE4CE2BEDC51862

View File

@ -3,6 +3,8 @@
DROP TABLE IF EXISTS test_distributed;
DROP TABLE IF EXISTS test_local;
SET prefer_localhost_replica = 1;
-- https://github.com/ClickHouse/ClickHouse/issues/36279
CREATE TABLE test_local (text String, text2 String) ENGINE = MergeTree() ORDER BY text;
CREATE TABLE test_distributed (text String, text2 String) ENGINE = Distributed('test_shard_localhost', currentDatabase(), test_local);