Hive自定义UDF函数--经常使用的工具类

注册函数:java 将自定义函数打成jar包,上传hdfsapache $hive>create function formattime as 'com.air.udf.FormatTimeUDF' using jar 'hdfs://mycluster/user/centos/air-hive-1.0-SNAPSHOT.jar' centos 使用:函数 $hive>select formatt
相关文章
相关标签/搜索