Closed hannesmiller closed 7 years ago
// Map<String, Integer> required group my_map (MAP) { repeated group key_value { required binary key (UTF8); optional int32 value; } }
Note like the Array support the value type could be any primitive or structured type.
The following describe how to query structured types in Impala and HiveQL respectively:
https://www.cloudera.com/documentation/enterprise/5-5-x/topics/impala_complex_types.html https://joshuafennessy.com/2015/07/09/introduction-to-hive-complex-data-types-part-1-array/
Duplicate of #189
// Map<String, Integer> required group my_map (MAP) { repeated group key_value { required binary key (UTF8); optional int32 value; } }
Note like the Array support the value type could be any primitive or structured type.
The following describe how to query structured types in Impala and HiveQL respectively:
https://www.cloudera.com/documentation/enterprise/5-5-x/topics/impala_complex_types.html https://joshuafennessy.com/2015/07/09/introduction-to-hive-complex-data-types-part-1-array/