create & alter inconsistency with "on cluster" for ENGINE = Distributed #3268
Labels
bug
Confirmed user-visible misbehaviour in official release
comp-dddl
Distributed DDL feature
easy task
Good for first contributors
st-accepted
The issue is in our backlog, ready to take
CREATE works! And creates Distributed table on both replicas.
CREATE TABLE vs.t1_distrib ON CLUSTER vscluster (ts DATETIME,c1 VARCHAR) ENGINE=Distributed('vscluster','vs','t1')
ALTER does not work!
ALTER TABLE vs.t1_distrib ON CLUSTER vscluster ADD COLUMN c2 VARCHAR
Code: 371, e.displayText() = DB::Exception: Table t1_distrib isn't replicated, but shard #1 is replicated according to its cluster definition, e.what() = DB::Exception.
https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/clickhouse/BmsOrL2AMN4/eQnjeC1CAQAJ
The text was updated successfully, but these errors were encountered: