FAQ-ROW FORMAT DELIMITED is only compatible with 'textfile', not ' orc'

问题描述/异常栈

ERROR - User class threw exception: org. apache, spark. sql. catalyst. parser. ParseException:Operation not allowed: ROW FORMAT DELIMITED is only compatible with 'textfile', not ' orc'

FAQ-ROW FORMAT DELIMITED is only compatible with - 图1

解决方案

修改表存储格式为textfile或者不使用ROW FORMAT DELIMITED

问题原因

spark 不为 parquetORC文件提供DELIMITERS
参照:http://www.manongjc.com/detail/25-ccidyjyosmxyylv.html

作者:林帅