only supports newline '
' right now. Error encountered near token ''
意思是:仅支持‘
’ 分隔符
我写的分隔符方式
row format delimited
fields terminated by ' 01'
collection items terminated by ' 02'
map keys terminated by ' 03'
lines terminated by ''
NULL defined as ''
正确写法:
row format delimited
fields terminated by ' 01'
collection items terminated by ' 02'
map keys terminated by ' 03'
lines terminated by '
'
NULL defined as ''
ASCII码中的序号为1,所以可以用' 01'表示