CREATE TABLE my_array_table (
id INT,
my_array ARRAY<STRING>
)
ROW FORMAT DELIMITED
FIELDS TERMINATED BY ','
STORED AS TEXTFILE;
MySQL [array_test]> select * from my_array_table;
ERROR 2027 (HY000): Malformed packet
MySQL [array_test]>
MySQL [array_test]>
MySQL [array_test]> show create table my_array_table;
ERROR 2013 (HY000): Lost connection to MySQL server during query
This bug is fixed in master, but not release in 1.2.x.
Realese fix in 1.2.x or just forbid query columns with array type in hms table