混合函数可以使用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文件