Create a Java class which extends org.apache.hadoop.hive.ql.exec.hive.UDAF
Create an inner class which implements UDAFEvaluator
Implement five methods
init() – This method initializes the evaluator and resets its internal state. We are using new Column() in the code below to indicate th...