in Big Data | Hadoop by
Q:
What Collection/Complex data types are supported by Hive?

1 Answer

0 votes
by

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.

 

Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

0 votes
asked Jan 10, 2020 in Big Data | Hadoop by sharadyadav1986
0 votes
asked May 26, 2020 in Amazon Elastic Compute Cloud(EC2) by Indian
0 votes
...