[ 
https://issues.apache.org/jira/browse/SPARK-33755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17249760#comment-17249760
 ] 

Apache Spark commented on SPARK-33755:
--------------------------------------

User 'StefanXiepj' has created a pull request for this issue:
https://github.com/apache/spark/pull/30785

> 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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to