hive User Defined Aggregate Functions (UDAF)