[
https://issues.apache.org/jira/browse/SPARK-33755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17247894#comment-17247894
]
Apache Spark commented on SPARK-33755:
--------------------------------------
User 'StefanXiepj' has created a pull request for this issue:
https://github.com/apache/spark/pull/30734
> Allow creating orc table when row format separator is defined
> -------------------------------------------------------------
>
> Key: SPARK-33755
> URL: https://issues.apache.org/jira/browse/SPARK-33755
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 2.4.2
> Reporter: xiepengjie
> Priority: Major
>
> When creating table like this:
> {code:java}
> create table test_orc(c1 string) row format delimited fields terminated by
> '002' stored as orcfile;
> {code}
> spark throws exception like :
> {code:java}
> Operation
> not allowed: ROW FORMAT DELIMITED is only compatible with 'textfile', not
> 'orcfile'(line 2, pos 0)
> {code}
> I don’t think we need such strict rules, we can support it.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]