You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/06/06 08:16:00 UTC

[jira] [Commented] (SPARK-8138) Error message for discovered conflicting partition columns is not intuitive

    [ https://issues.apache.org/jira/browse/SPARK-8138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14575609#comment-14575609 ] 

Apache Spark commented on SPARK-8138:
-------------------------------------

User 'liancheng' has created a pull request for this issue:
https://github.com/apache/spark/pull/6610

> Error message for discovered conflicting partition columns is not intuitive
> ---------------------------------------------------------------------------
>
>                 Key: SPARK-8138
>                 URL: https://issues.apache.org/jira/browse/SPARK-8138
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 1.3.0, 1.3.1, 1.4.0
>            Reporter: Cheng Lian
>            Assignee: Cheng Lian
>            Priority: Minor
>
> For data stored as a Hive-style partitioned table, data files should only live in leaf partition directories.
> For example, the following directory layout is illegal:
> {noformat}
> .
> ├── _SUCCESS
> ├── b=0
> │   ├── c=0
> │   │   └── part-r-00004.gz.parquet
> │   └── part-r-00004.gz.parquet
> └── b=1
>     ├── c=1
>     │   └── part-r-00008.gz.parquet
>     └── part-r-00008.gz.parquet
> {noformat}
> For now, we give an unintuitive error message like this:
> {noformat}
> Conflicting partition column names detected:
>  ArrayBuffer(b, c)
> ArrayBuffer(b)
> {noformat}
> This should be improved.



--
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