hive-sort_arry实现字段横向比较,并取出最大值
先把多字段组成数组,再数组排序,取出最后一个即为最大值
sort_array(array(nvl(is_receive_recharge,0),nvl(is_receive_coupon,0),nvl(is_receive_points,0),nvl(mess_tag,0)))[3]
hive-sort_arry实现字段横向比较,并取出最大值
先把多字段组成数组,再数组排序,取出最后一个即为最大值
sort_array(array(nvl(is_receive_recharge,0),nvl(is_receive_coupon,0),nvl(is_receive_points,0),nvl(mess_tag,0)))[3]
Apache Hive的相关知识,包括简单介绍,环境配置,和使用简介
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M