Untitled

除此之外, hive 还支持三种复杂类型

CREATE TABLE complex_test(
	col1 ARRAY<INT>,
	col2 MAP<STRING, STRING>,
	col3 STRUCT<a: STRING, b: INT>
)

-- 查询
select col1, col2["name"], col3.a from complex_test;