hive>show functions;查看Hive的内置函数

hive>create temporary function say_hello as 'cn.zhangyu.HelloUdf';创建临时函数

hive>add jar /home/hadoop/udaf_avg.jar  

hive>create temporary function udaf_avg 'hive.udaf.Avg'  

hive>drop temporary function udaf_avg

hive>desc table;

hive>desc table;

[ ]hiveserver2

[ ]beeline -u jdbc:hive2://localhost:10000

相关文章:

  • 2021-08-04
  • 2021-09-08
  • 2021-06-20
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-14
  • 2021-11-01
  • 2021-12-09
  • 2020-02-09
  • 2021-09-17
  • 2021-05-07
  • 2021-04-21
相关资源
相似解决方案