2021-09-12 12:35:27 +00:00
|
|
|
-- Tags: distributed
|
|
|
|
|
2020-02-19 18:58:29 +00:00
|
|
|
DROP TABLE IF EXISTS distr0;
|
2019-08-10 18:01:35 +00:00
|
|
|
DROP TABLE IF EXISTS distr1;
|
|
|
|
DROP TABLE IF EXISTS distr2;
|
|
|
|
|
|
|
|
CREATE TABLE distr (x UInt8) ENGINE = Distributed(test_shard_localhost, currentDatabase(), distr); -- { serverError 269 }
|
|
|
|
|
2021-08-20 14:05:53 +00:00
|
|
|
CREATE TABLE distr0 (x UInt8) ENGINE = Distributed(test_shard_localhost, '', distr0); -- { serverError 269 }
|
2020-02-19 18:58:29 +00:00
|
|
|
|
2019-08-10 18:01:35 +00:00
|
|
|
CREATE TABLE distr1 (x UInt8) ENGINE = Distributed(test_shard_localhost, currentDatabase(), distr2);
|
|
|
|
CREATE TABLE distr2 (x UInt8) ENGINE = Distributed(test_shard_localhost, currentDatabase(), distr1);
|
|
|
|
|
2021-04-05 14:08:30 +00:00
|
|
|
SELECT * FROM distr1; -- { serverError 581 }
|
|
|
|
SELECT * FROM distr2; -- { serverError 581 }
|
2019-08-10 18:01:35 +00:00
|
|
|
|
|
|
|
DROP TABLE distr1;
|
|
|
|
DROP TABLE distr2;
|