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

issue of multi-schema change on same column #38897

Open
Tracked by #14766
crazycs520 opened this issue Nov 4, 2022 · 2 comments
Open
Tracked by #14766

issue of multi-schema change on same column #38897

crazycs520 opened this issue Nov 4, 2022 · 2 comments

Comments

@crazycs520
Copy link
Contributor

crazycs520 commented Nov 4, 2022

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

create table t (a int, b int);
alter table t change b bb int, add index idx(bb);

2. What did you expect to see? (Required)

execute successful:

mysql>create table t (a int, b int);
Query OK, 0 rows affected
mysql>alter table t change b bb int, add index idx(bb);
Query OK, 0 rows affected

3. What did you see instead (Required)

execute failed:

mysql>create table t (a int, b int);
Query OK, 0 rows affected
mysql>alter table t change b bb int, add index idx(bb);
(1072, 'column does not exist: bb')

4. What is your TiDB version? (Required)

select tidb_version()\G
***************************[ 1. row ]***************************
tidb_version() | Release Version: v6.4.0-alpha-241-gde568beb4a
Edition: Community
Git Commit Hash: de568beb4aac3989053f5c45f4614f8297792d52
Git Branch: master
UTC Build Time: 2022-11-04 08:19:05
GoVersion: go1.19.3
Race Enabled: false
TiKV Min Version: 6.2.0-alpha
Check Table Before Drop: false
Store: unistore
@crazycs520 crazycs520 added type/bug The issue is confirmed as a bug. severity/minor labels Nov 4, 2022
@crazycs520
Copy link
Contributor Author

@tangenta PTAL

@ChenPeng2013 ChenPeng2013 added the sig/sql-infra SIG: SQL Infra label Nov 5, 2022
@tangenta
Copy link
Contributor

tangenta commented Nov 6, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants