09 2015 档案

摘要:例1: hive -e" select type ,status ,count(1) from usr_info where pt='2015-09-14' group by type,status grouping sets ((type,status),( type),()); ">one.tx 阅读全文
posted @ 2015-09-16 13:55 白鹭倾城 阅读(508) 评论(0) 推荐(0)
摘要:1、创建表格create table usr_info(mob string,reason string,tag string) row format delimited fields terminated by '\t' stored as textfile;2、将本地文件上传到创建表格中load... 阅读全文
posted @ 2015-09-16 13:54 白鹭倾城 阅读(401) 评论(0) 推荐(0)