您的位置:首页 > 其它

将hive数据查询直接写入文件

2015-02-13 10:04 330 查看
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 ;
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐