Description
In Spark3.1.1 have support Char/Varchar type, but when insert data with char/varchar datatype will fail when data length exceed length limitation even when spark.sql.legacy.charVarcharAsString is true.
reproduce:
create table chartb01(a char(3));
insert into chartb01 select 'aaaaa';
Attachments
Issue Links
- links to