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.
687Post New Apache Hive Questions
When we are using queries instead of scripting?
What is the purpose of Hive Driver?
What is the significance of the line set hive.mapred.mode = strict;?
what is hadoop archive?
Can we run unix shell commands from the hive? Give example?
What is the difference between like and rlike operators in hive?
Are there any problems which can only be solved by MapReduce and cannot be solved by PIG? In which kind of scenarios MR jobs will be more useful than PIG?
What is the work of hive/hcatalog?
What is ObjectInspector functionality in Hive?
Why do we need hive?
What is Bucket in Hive?
Why do we need buckets?
What is hive installation path?
Can we load data into a view?
What is metastore?