spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hyukjin Kwon (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-21002) Syntax error regression when creating Hive storage handlers on Spark shell
Date Wed, 07 Jun 2017 03:24:18 GMT

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

Hyukjin Kwon resolved SPARK-21002.
----------------------------------
    Resolution: Duplicate

> Syntax error regression when creating Hive storage handlers on Spark shell
> --------------------------------------------------------------------------
>
>                 Key: SPARK-21002
>                 URL: https://issues.apache.org/jira/browse/SPARK-21002
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: Dayou Zhou
>
> I use the following syntax to create my Hive storage handlers:
> CREATE TABLE t1
> ROW FORMAT SERDE 'com.foo.MySerDe' 
> STORED BY 'com.foo.MyStorageHandler'
> TBLPROPERTIES (
>    ......
> );
> And I'm trying to do the same from Spark shell.  It works fine on Spark 1.6, but on Spark
2.0+, it fails with the following:'
> org.apache.spark.sql.catalyst.parser.ParseException:
> Operation not allowed: Unexpected combination of ROW FORMAT SERDE 'com.foo.MySerDe' and
STORED BY 'com.foo.MyStorageHandler'(line 1, pos 0)
> Could you please confirm whether this is a regression and if so could it be fixed in
Spark 2.2?  Thank you.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message