Write a Hive UDF that returns a sentiment score. For example, if good = 1, bad = -1, and average = 0, then a review of a restaurant states "Good food, bad service," your score might be 1 - 1 = 0.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Apache Hive Interview Questions

Are multiline comments supported in Hive?

0 Answers  


What is the work of hive/hcatalog?

0 Answers  


What is Hive Database?

0 Answers  


What is indexing and why do we need it?

0 Answers  


Can i access Hive Without Hadoop ?

1 Answers  






What does the “USE” command in the hive do?

0 Answers  


When should we use SORT BY instead of ORDER BY?

0 Answers  


How can you prevent a large job from running for a long time? What do u think is more popular among the developers - Pig or Hive?

0 Answers  


What is a generic UDF in the hive?

0 Answers  


How data transfer happens from HDFS to Hive?

0 Answers  


How to change a column data type in Hive?

0 Answers  


While loading data into a hive table using the load data clause, how do you specify it is a hdfs file and not a local file ?

0 Answers  


Categories