only supports newline '\n' right now. Error encountered near token '' 
意思是:仅支持‘\n’ 分隔符
 
我写的分隔符方式
row format delimited
fields terminated by '\001'
collection items terminated by '\002'
map keys terminated by '\003'
lines terminated by ''
NULL defined as ''

  

 
正确写法:
row format delimited
fields terminated by '\001'
collection items terminated by '\002'
map keys terminated by '\003'
lines terminated by '\n'
NULL defined as ''

 

ASCII码中的序号为1,所以可以用'\001'表示

posted on 2020-09-09 19:51  爱吃萝卜青菜  阅读(937)  评论(0编辑  收藏  举报