- 注意,hive跑完的分隔符是\001,八进制编码
- 然后就能对跑完的数据进行二次建表查询
create external table user_click
(date string,hour string,user_count int ,click_count int)
row format delimited fields terminated by '\001'
location '/opt/shanjiajun/data_user_action_201609';
create external table user_click
(date string,hour string,user_count int ,click_count int)
row format delimited fields terminated by '\001'
location '/opt/shanjiajun/data_user_action_201609';