hive udf使用

add jar /home/work/udf.jar;

create temporary function mytest as 'test.udf.ToLowerCase';

add jar /work/yule/online/LogTimeToDetailDate.jar;
create temporary function logtime as 'cn.focus.hadoop.sohu.LogTimeToDetailDate';
show functions;

http://blog.csdn.net/yfkiss/article/details/7885262

http://my.oschina.net/wangjiankui/blog/64230

猜你喜欢

转载自wangqiaowqo.iteye.com/blog/2033363