hive命令
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