版权声明:版权声明:本文为博主原创文章,转载请附上博文链接! https://blog.csdn.net/qq_42246689/article/details/84670036
步骤:
1.extends UDF,实现evaluate()
2.add JAR /home/hadoop/hivejar/udf.jar;
3.create temporary function tolowercase as 'com.ghgj.hive.udf.ToLowerCase';
4.使用
5.drop temporary function tolowercase;