Dayou Zhou created SPARK-21002: ---------------------------------- Summary: 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org