You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yin Huai (JIRA)" <ji...@apache.org> on 2016/06/13 20:25:04 UTC

[jira] [Updated] (SPARK-15676) Disallow Column Names as Partition Columns For Hive Tables

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

Yin Huai updated SPARK-15676:
-----------------------------
    Assignee: Xiao Li

> Disallow Column Names as Partition Columns For Hive Tables
> ----------------------------------------------------------
>
>                 Key: SPARK-15676
>                 URL: https://issues.apache.org/jira/browse/SPARK-15676
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: Xiao Li
>            Assignee: Xiao Li
>             Fix For: 2.0.0
>
>
> Below is a common mistake users might make:
> {noformat}
> hive> CREATE TABLE partitioned (id bigint, data string) PARTITIONED BY (data string, part string);
> FAILED: SemanticException [Error 10035]: Column repeated in partitioning columns
> {noformat}
> Different from what Hive returned, currently, we return a confusing error message:
> {noformat}
> org.apache.spark.sql.AnalysisException: org.apache.hadoop.hive.ql.metadata.HiveException: MetaException(message:For direct MetaStore DB connections, we don't support retries at the client level.);
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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