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

Improvement of errors when updating distributed table #2190

Closed
PavelShilin89 opened this issue May 16, 2024 · 1 comment
Closed

Improvement of errors when updating distributed table #2190

PavelShilin89 opened this issue May 16, 2024 · 1 comment
Assignees
Labels
bug rel::upcoming Upcoming release

Comments

@PavelShilin89
Copy link
Contributor

At the moment when we try to update the table in non RT mode, we get no understandable errors. It would be great if the error would indicate that we are using the wrong table type.

MRE

mysql -v -h0 -P9306 -e "CREATE TABLE index1(f text, s string); CREATE TABLE products(title text, meta json) type='pq'; ALTER TABLE index1 agent='127.0.0.1:9312:remote_index'; ALTER TABLE products local='index1' local='index3';"
--------------
CREATE TABLE index1(f text, s string)
--------------

--------------
CREATE TABLE products(title text, meta json) type='pq'
--------------

--------------
ALTER TABLE index1 agent='127.0.0.1:9312:remote_index'
--------------

--------------
ALTER TABLE products local='index1' local='index3'
--------------

ERROR 1064 (42000) at line 1: Table products doesn't exist
@PavelShilin89 PavelShilin89 changed the title Improvement of errors when updating distributed table not RT Improvement of errors when updating distributed table different from RT mode May 16, 2024
@djklim87 djklim87 changed the title Improvement of errors when updating distributed table different from RT mode Improvement of errors when updating distributed table May 20, 2024
@djklim87
Copy link
Contributor

@sanikolaev sanikolaev added the rel::upcoming Upcoming release label Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug rel::upcoming Upcoming release
Projects
None yet
Development

No branches or pull requests

3 participants