Open TeslaZY opened 10 months ago
We have marked this issue as stale because it has been inactive for 6 months. If this issue is still relevant, removing the stale label or adding a comment will keep it active. Otherwise, we'll close it in 10 days to keep the issue queue tidy. Thank you for your contribution to StarRocks!
If you set strict_mode = true
, the row with too long string field should be filtered, rather than setting the field to NULL.
If you set strict_mode = fale
, the too long string field will be converted to NULL, than it will throw the error you encounter.
You can check it.
Steps to reproduce the behavior (Required)
card
(id
int(11) NOT NULL COMMENT "",name
varchar(64) NOT NULL COMMENT "",age
int(11) NULL COMMENT "",addr
varchar(64) NULL COMMENT "",grade
int(11) NULL COMMENT "" ) ENGINE=OLAP PRIMARY KEY(id
) DISTRIBUTED BY HASH(id
) PROPERTIES ( "replication_num" = "1", "in_memory" = "false", "storage_format" = "DEFAULT", "enable_persistent_index" = "false", "replicated_storage" = "true", "compression" = "LZ4" );Expected behavior (Required)
报错提示为超出列长度限制
Real behavior (Required)
提示值为空
StarRocks version (Required)
3.0.5