hive sql 時間遞歸寫法

select a.p_day,0 fuv,0 vv,0 as fuv_sec,0 as vv_sec,count(distinct b.uid) fuv_sev,sum(b.vv) vv_sev from (select p_day,uid,sum(vv)vv from default.t_1 where p_day>=20180706 and p_day<=20180719 and pro =1
相關文章
相關標籤/搜索