摘要:
有多条hive语句从同一张表中做count操作,语句如下: select pf,way,method,count(distinct id) where push_date_type ='$push_date_type' group by pf,way,method; select pf,way,-1,count(distinct id) where push_date_type ='$push_date_type' group by pf,way;...... 想着用multi group by特性优化下效率,于是把上述语句改写成:from push_revis 阅读全文