remove one test because it already exists

This commit is contained in:
Arthur Passos 2024-02-26 10:52:16 -03:00
parent 024997f797
commit ae9765244b
2 changed files with 0 additions and 37 deletions

View File

@ -23,20 +23,3 @@ EXPLAIN SELECT * FROM visits_order_dst WHERE user_name='another_user2';
Expression ((Projection + Before ORDER BY)) Expression ((Projection + Before ORDER BY))
Filter Filter
ReadFromMergeTree (user_name_projection) ReadFromMergeTree (user_name_projection)
DROP TABLE IF EXISTS visits_order;
DROP TABLE IF EXISTS visits_order_dst;
CREATE TABLE visits_order
(
user_id UInt64,
user_name String,
some_int UInt64
) ENGINE = MergeTree() PRIMARY KEY user_id PARTITION BY user_id;
CREATE TABLE visits_order_dst
(
user_id UInt64,
user_name String,
some_int UInt64
) ENGINE = MergeTree() PRIMARY KEY user_id PARTITION BY user_id;
ALTER TABLE visits_order ADD PROJECTION user_name_projection (SELECT * ORDER BY user_name);
ALTER TABLE visits_order_dst ATTACH PARTITION ID '2' FROM visits_order -- {serverError 36};

View File

@ -26,23 +26,3 @@ INSERT INTO visits_order SELECT 2, 'yet_another_user2', number*3 from numbers(1,
ALTER TABLE visits_order_dst ATTACH PARTITION ID '2' FROM visits_order; ALTER TABLE visits_order_dst ATTACH PARTITION ID '2' FROM visits_order;
EXPLAIN SELECT * FROM visits_order_dst WHERE user_name='another_user2'; EXPLAIN SELECT * FROM visits_order_dst WHERE user_name='another_user2';
DROP TABLE IF EXISTS visits_order;
DROP TABLE IF EXISTS visits_order_dst;
CREATE TABLE visits_order
(
user_id UInt64,
user_name String,
some_int UInt64
) ENGINE = MergeTree() PRIMARY KEY user_id PARTITION BY user_id;
CREATE TABLE visits_order_dst
(
user_id UInt64,
user_name String,
some_int UInt64
) ENGINE = MergeTree() PRIMARY KEY user_id PARTITION BY user_id;
ALTER TABLE visits_order ADD PROJECTION user_name_projection (SELECT * ORDER BY user_name);
ALTER TABLE visits_order_dst ATTACH PARTITION ID '2' FROM visits_order -- {serverError 36};