Woothee Java implementation and Hive UDF