Overview
Doris supports both fixed-length and variable-length strings, including:
CHAR(M): A fixed-length string, where M is the byte length. The range for M is [1, 255].
VARCHAR(M): A variable-length string, where M is the maximum length. The range for M is [1, 65533].
STRING: A variable-length string with a default maximum length of 1,048,576 bytes (1 MB). This maximum length can be increased up to 2,147,483,643 bytes (2 GB) by configuring the
string_type_length_soft_limit_bytes
setting.