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;
|
|
|
|
|
2024-05-30 12:27:25 +00:00
|
|
|
CREATE TABLE distr (x UInt8) ENGINE = Distributed(test_shard_localhost, currentDatabase(), distr); -- { serverError INFINITE_LOOP }
|
2019-08-10 18:01:35 +00:00
|
|
|
|
2024-05-30 12:27:25 +00:00
|
|
|
CREATE TABLE distr0 (x UInt8) ENGINE = Distributed(test_shard_localhost, '', distr0); -- { serverError INFINITE_LOOP }
|
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);
|
2024-06-18 20:21:20 +00:00
|
|
|
CREATE TABLE distr2 (x UInt8) ENGINE = Distributed(test_shard_localhost, currentDatabase(), distr1); -- { serverError INFINITE_LOOP }
|
2019-08-10 18:01:35 +00:00
|
|
|
|
|
|
|
DROP TABLE distr1;
|