其他分享
首页 > 其他分享> > 【hive 自定义函数种类】

【hive 自定义函数种类】

作者:互联网

根据用户自定义函数类别分为以下三种:

(1)UDF(User-Defined-Function)

一进一出

(2)UDAF(User-Defined Aggregation Function)

聚集函数,多进一出
类似于:count/max/min

(3)UDTF(User-Defined Table-Generating Functions)

一进多出
如 lateral view explode()

标签:Function,函数,自定义,Defined,hive,User,一进
来源: https://www.cnblogs.com/LittleOctopus/p/16106370.html