Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table columns structure in ZooKeeper is different from local table structure #10074

Open
cw9 opened this issue Apr 6, 2020 · 1 comment
Open
Labels
feature st-accepted The issue is in our backlog, ready to take usability

Comments

@cw9
Copy link
Contributor

cw9 commented Apr 6, 2020

I'm getting this error
Code: 122, e.displayText() = DB::Exception: Table columns structure in ZooKeeper is different from local table structure (version 20.3.5.21 (official build))

This can be reproduced by creating the first replica of table1 with column a,b,c and then creating the second replica with columns a,c,b.

It seems that the ZK already knows what the column structure of table1 should be, is there a way to create the second table from that structure on ZK? So that we can avoid providing the wrong column structure of a,c,b?

@cw9 cw9 added the usability label Apr 6, 2020
@alexey-milovidov
Copy link
Member

Yes, it's a great feature request. We need to allow creating replicas without specifying the schema.

@alexey-milovidov alexey-milovidov added st-accepted The issue is in our backlog, ready to take feature labels Apr 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature st-accepted The issue is in our backlog, ready to take usability
Projects
None yet
Development

No branches or pull requests

2 participants