注册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';

 

posted @ 2021-01-24 14:57  Simon92  阅读(123)  评论(0编辑  收藏  举报