1.1自定义函数
<dependencies>
<!-- https://mvnrepository.com/artifact/org.apache.hive/hive-exec -->
<dependency>
<groupId>org.apache.hive</groupId>
<artifactId>hive-exec</artifactId>
<version>1.2.1</version>
</dependency>
</dependencies>
代码参考
代码参考
add jar /opt/module/datas/udf.jar;
create temporary function mylower as “com.atguigu.hive.Lower”;
select ename, mylower(ename) lowername from emp;
2.1压缩