Hive supports following Complex/Collection data types:
1. Map: This is a collection of key value pairs. We can specify [key] to get the value stored at key in the collection.
2. Array: This is an index based ordered sequence of
values in a collection. We can access it with an index like [i] where i is the location of an element.
3. Struct: This is a record type that has other named fields inside. It is similar to struct in C or object in Java.
4. Uniontype: This is similar to Union in C. Since support for this data type is not fully available, we should not use it.