如何使用Hadoop的Partitioner?

如何使用Hadoop的Partitioner


偶然的你
浏览 1207回答 3
3回答

翻过高山走不出你

创建表create table pageView5(track_time string,url string,session_id string,referer string,ip string,end_user_id string,city_id string)partitioned by (hours string ,mm string)row format delimited fields terminated by '\001'location '/user/beicai/hive4';分区---------》insert overwrite table pageView5 partition (hours,mm)select *,substr(track_time,12,2),substr(track_time,15,2) from pageView4 limit 500;
打开App,查看更多内容
随时随地看视频慕课网APP