特牛生活网

IDEA开发的依赖——hive自定义函数apache-hive-3.1.2_maven dependency 'org.apache.hive:hive-exec:3.1.2'-CSDN博客

网友收藏
文章浏览阅读1.5k次。自定义函数1)Hive 自带了一些函数,比如:max/min等,但是数量有限,自己可以通过自定义UDF来方便的扩展。2)当Hive提供的内置函数无法满足你的业务处理需要时,此时就可以考虑使用用户自定义函数(UDF:user-defined function)。3)根据用户自定义函数类别分为以下三种:(1)UDF(User-Defined-Function) 一进一出(2)UDAF(User-Defined Aggregation Function) 聚集函数,多进一出 _maven dependency 'org.apache.hive:hive-exec:3.1.2' not found