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]: cast TEXT to Varchar failed with larger value #23176
internal error: Can't cast column from TEXT type to CHAR type because of one or more values in that column. Src length 260 is larger than Dest length 255.
Expected Behavior
Text cast to varchar cannot failed by length is too bigger
Steps to Reproduce
1. create a table with a text column
2. exec update statement, and using CONCAT(COALESCE(`column`, ''), ?) to update TEXT column
Activity
zhangxu19830126 commentedon Nov 29, 2025
fixed
skip length validation when casting TEXT to CHAR/VARCHAR to hotfix (#…
fix: restore text cast length compatibility (#25165)
fix: preserve text type in conditional string casts (#25162)