- 注意,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';
本文标题:hive跑完结果分隔符问题
本文链接:https://www.haomeiwen.com/subject/rqtiqxtx.html
网友评论