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

Reply via email to