2022-01-25 09:52:36 +00:00
|
|
|
-- Tags: no-parallel
|
|
|
|
-- ^^^^^^^^^^^ otherwise you may hit TOO_DEEP_RECURSION error during querying system.columns
|
|
|
|
|
2019-08-10 17:51:47 +00:00
|
|
|
DROP TABLE IF EXISTS merge1;
|
|
|
|
DROP TABLE IF EXISTS merge2;
|
|
|
|
|
|
|
|
CREATE TABLE IF NOT EXISTS merge1 (x UInt64) ENGINE = Merge(currentDatabase(), '^merge\\d$');
|
|
|
|
CREATE TABLE IF NOT EXISTS merge2 (x UInt64) ENGINE = Merge(currentDatabase(), '^merge\\d$');
|
|
|
|
|
2022-01-25 09:52:36 +00:00
|
|
|
SELECT * FROM merge1; -- { serverError TOO_DEEP_RECURSION }
|
|
|
|
SELECT * FROM merge2; -- { serverError TOO_DEEP_RECURSION }
|
2019-08-10 17:51:47 +00:00
|
|
|
|
|
|
|
DROP TABLE merge1;
|
|
|
|
DROP TABLE merge2;
|