- 博客(2)
- 收藏
- 关注
原创 【hive】count() count(if) count(distinct if) sum(if)的区别
【hive】count() count(if) count(distinct if) sum(if)的区别表名:user_active_day (用户日活表)表内容:user_id(用户id) user_is_new(是否新用户 1:新增用户 0:老用户) location_city(用户所在地区)partition_date(日期分区)需求: 找出20180901至今的xxx地区的用户日活量以及新增用户量思路: 筛选日期分区和地区,统计user_id的数量为用户日...
2021-10-08 20:30:24 3381 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人