How to Define nested Collection items in Hive
问题 I am trying to create a hive table with nested Collection items. Suppose I have an array of struct. CREATE TABLE SAMPLE( record array<struct<col1:string,col2:string>> )row format delimited fields terminated by ',' collection items terminated by '|'; First level, the separator ',' will override the default delimiter '^A'. Second level, the separator '|' will override the default second level delimiter '^B' to separate out the outer most structure (i.e. Array). Third level hive will use the