Hive-UDTF Some Hive UDTF examples A function that gives the min, max and mean of the elements inside an array. Also you can find provided test of the UDTF implementation.