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

你可能感兴趣的:(hive)