support hive-0.10 UDF compatibility