混合函數可以使用java中的方法java_method(class,method[,arg1[,arg2...]])或者reflect
hive版本1.2.1
udtf 使用者定義表函數(表函數)一行變成多行配合lateral view
<a href="http://blog.sina.com.cn/s/blog_7e04e0d00101csic.html" target="_blank">http://blog.sina.com.cn/s/blog_7e04e0d00101csic.html</a>
udf 重寫evaluate方法 map端
函數打包成function.jar
hive指令行
udaf (user defined aggregation function)使用者自定義聚合函數
自定義udaf統計b字段大于30的記錄個數 countbigthan(b,30)實作代碼
hive注冊永久函數三種方法
hive shell每次啟動都會預設執行$home/.hiverc檔案