注册udf
CREATE FUNCTION check_date as 'com.chinaoly.hive.udf.CheckDateFormatUdf' using jar 'hdfs://nameservice1/user/hive/hive-udf-1.0.jar'; CREATE FUNCTION uuid as 'com.chinaoly.udf.UuidUdf' using jar 'hdfs://nameservice1/user/hive/UuidUdf.jar';
########## 今天的苦逼是为了不这样一直苦逼下去!##########