You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2020/12/16 01:55:00 UTC

[jira] [Resolved] (SPARK-33755) Allow creating orc table when row format separator is defined

     [ https://issues.apache.org/jira/browse/SPARK-33755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon resolved SPARK-33755.
----------------------------------
    Resolution: Invalid

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