Closed zhoujinsong closed 1 year ago
After reviewing the error message and related codes, I found that:
varchar
data type, their length limits are different. The maximum length of varchar type for the Hive table is 65,535, while the maximum length of varchar type for the Paimon table is 2,147,483,647.char
data type between the two, which is 255 for Hive table and 2,147,483,647 for Paimon tableBased on this, I would fix this bug by:
string
type. Otherwise, it will still remain consistent with Paimon.@JingsongLi @tsreaper Can you help to review the solution? I will try to fix this bug ASAP if you think it is okay.
Hive type length limit reference:https://cwiki.apache.org/confluence/display/hive/languagemanual+types#LanguageManualTypes-VarcharvarcharVarchar
Very thanks @zhoujinsong for your detailed messages.
Search before asking
Paimon version
0.4.0
Compute Engine
Hive
Minimal reproduce step
What doesn't meet your expectations?
Anything else?
No response
Are you willing to submit a PR?