adplus-dvertising
frame-decoration

Question

We need to store skill set of MCQs(which might have multiple values) in MCQs table, which of the following is the best way to store this information in case of Hive?

a.

Create a column in MCQs table of STRUCT data type

b.

Create a column in MCQs table of MAP data type

c.

Create a column in MCQs table of ARRAY data type

d.

As storing multiple values in a column of MCQs itself is a violation

Posted under Hive and HBase Hadoop

Answer: (c).Create a column in MCQs table of ARRAY data type

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. We need to store skill set of MCQs(which might have multiple values) in MCQs table, which of the following is the best way to store this information in case of Hive?