Helpful user defined fuctions / table generating functions for Hive