mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-19 06:50:50 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
8 lines
410 B
SQL
8 lines
410 B
SQL
DROP TABLE IF EXISTS union1;
|
|
DROP TABLE IF EXISTS union2;
|
|
CREATE TABLE union1 ( date Date, a Int32, b Int32, c Int32, d Int32) ENGINE = MergeTree(date, (a, date), 8192);
|
|
CREATE TABLE union2 ( date Date, a Int32, b Int32, c Int32, d Int32) ENGINE = Distributed(test_shard_localhost, currentDatabase(), 'union1');
|
|
ALTER TABLE union2 MODIFY ORDER BY a; -- { serverError 48 }
|
|
DROP TABLE union1;
|
|
DROP TABLE union2;
|