in Big Data | Hadoop by
The difference between the MAP and STRUCT data type in Hive is

A - MAP is Key-value pair but STRUCT is series of values

B - There can not be more than one MAP dat type column in a table but more than one STRUCT

data type in a table is allowed.

C - The Keys in MAP can not be integers but in STRUCT they can be.

D - Only one pair of data types is allowed in the key-value pair of MAP while mixed types are

allowed in STRUCT.

1 Answer

0 votes
by

Only one pair of data types is allowed in the key-value pair of MAP while mixed types are

allowed in STRUCT.

...