You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: alter table change column name: column name does not support Chinese, space, special character with `` #11269
- Version or commit-id (e.g. v0.1.0 or 8b23a93): 3197c5a41991f2ed1db30e04584461f5ddfb57ea
- Hardware parameters:
- OS type:
- Others:
Actual Behavior
Expected Behavior
Steps to Reproduce
-- column name test: with `` and chinese character
drop table if exists name01;
create table name01 (col1 int, col2 decimal);
insert into name01 values (1, 378292);
insert into name01 values (2, 3289.111111);
alter table name01 change column col1 `数据库管理系统数据库操作系统数据库系统数据库` int;
show create table name01;
drop table name01;
-- column name test: with `` and space
drop table if exists name02;
create table name02 (col1 int, col2 decimal);
insert into name02 values (1, 378292);
insert into name02 values (2, 3289.111111);
alter table name02 change column col1 `cwhueh 3u2j4kfker` int;
show create table name02;
drop table name02;
-- column name test: with `` and special character
drop table if exists name03;
create table name03 (col1 int, col2 decimal);
insert into name03 values (1, 378292);
insert into name03 values (2, 3289.111111);
alter table name03 change column col1 `RAVHJBWUIHNJCDW****&&*((()(*&^&^%^^&^*&` int;
show create table name03;
drop table name03;
Activity
qingxinhome commentedon Aug 18, 2023
The issue has been resolved, please verify and test @Ariznawlll @daviszhen @lacrimosaprinz
Ariznawlll commentedon Aug 18, 2023
Verified!