【详述】问题详细描述
java 实现stream load时,向数组列导入数据时,导入为null
sr表建表语句:
CREATE TABLE test113
(
num
bigint(20) NOT NULL DEFAULT “-1” COMMENT “”,
arr
ARRAY<varchar(65533)> NULL COMMENT “”
) ENGINE=OLAP
PRIMARY KEY(num
)
COMMENT “OLAP”
DISTRIBUTED BY HASH(num
) BUCKETS 32
PROPERTIES (
“replication_num” = “3”,
“in_memory” = “false”,
“storage_format” = “DEFAULT”
);
java代码采用github上的stream load模板,String oneRow = “13\t[1,2]\n”;
数据导入结果: