I am trying to create a beehive table with nested collection items. Suppose I have a struct array.
CREATE TABLE SAMPLE( record array<struct<col1:string,col2:string>> )row format delimited fields terminated by ',' collection items terminated by '|';
The first level, the delimiter ',' will override the default delimiter '^ A'.
Second level, delimiter '|' will overlap the second-level delimiter '^ B' by default to highlight an external structure (i.e. an array).
The third level hive will use the default third level delimiter '^ C' as the delimiter for Struct
Now my question is how to define a separator for the second level (i.e. Struct), because the character "C" is difficult to read and also generate.
Is there a way to explicitly define a delimiter instead of ^ C?
Thanks in advance.
source share