hive -e "select dateentry,count(distinct(uid)) from log where (channel!='淘宝平台') and appid=1 and code = 'ABP044' and dateentry> '2015-02-02' and dateentry<'2015-02-08'
group by dateentry" > ABP044.txt ;
hive -e "select dateentry,count(distinct(uid)) from log where (channel!='淘宝平台') and appid=1 and code = 'ABP044' and dateentry> '2015-02-02' and dateentry<'2015-02-08'
group by dateentry" > ABP044.txt ;