in Big Data | Hadoop by
Q:
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.

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

Related questions

+1 vote
asked Jun 25, 2019 in Dot Net by Venkatshastri
0 votes
asked Jan 12, 2020 in Big Data | Hadoop by sharadyadav1986
0 votes
asked Nov 20, 2020 in JQuery by sharadyadav1986
0 votes
asked Jun 7, 2020 in Hive by SakshiSharma
0 votes
asked Jun 14, 2020 in Hive by Robindeniel
...