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

Support rename columns interchangeably #126

Open
Tracked by #1 ...
tangenta opened this issue Jul 13, 2022 · 0 comments
Open
Tracked by #1 ...

Support rename columns interchangeably #126

tangenta opened this issue Jul 13, 2022 · 0 comments

Comments

@tangenta
Copy link
Owner

Enhancement

create table t (a int, b int);
alter table t rename column a to b, rename column b to a;

Expected:

Query OK, 0 rows affected (0.02 sec)
Records: 0  Duplicates: 0  Warnings: 0

But got:

ERROR 1060 (42S21): Duplicate column name 'b'
@tangenta tangenta changed the title Support rename column interchangeable Support rename columns interchangeably Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant