Scala Language User Defined Functions for Hive