摘要:
有多条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 阅读全文
posted @ 2013-03-18 15:37
山君
阅读(2506)
评论(0)
推荐(1)
浙公网安备 33010602011771号