Joint Research Center Apache Hive User Defined Functions for working with quadkeys and other things