Hive UDF's for the data warehouse