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]: CTAS with concat_ws infers result column definition differently from MySQL #24434
The CTAS result schema should be consistent with MySQL, including alias casing and inferred varchar length.
Steps to Reproduce
drop table if exists string02;
drop table if exists string01;
create table string01 (col1 varchar(40), col2 char, col3 text default null);
insert into string01 values (' database system', 'a', 'x');
insert into string01 values (' string function ', '1', 'y');
insert into string01 values ('test create table as select', '0', null);
create table string02 as
select concat_ws(',', col1, 'abcde') as newCol
from string01;
show create table string02;
desc string02;
select * from string02;
Activity
Ariznawlll commentedon May 18, 2026
Closing in favor of summary tracker #24436. This issue was split from #14792 during re-verification and is now tracked centrally in #24436.