You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (JIRA)" <ji...@apache.org> on 2016/06/14 17:00:56 UTC

[jira] [Resolved] (SPARK-15655) Wrong Result when Fetching Partitioned Tables

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

Wenchen Fan resolved SPARK-15655.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

Issue resolved by pull request 13400
[https://github.com/apache/spark/pull/13400]

> Wrong Result when Fetching Partitioned Tables
> ---------------------------------------------
>
>                 Key: SPARK-15655
>                 URL: https://issues.apache.org/jira/browse/SPARK-15655
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: Xiao Li
>            Assignee: Xiao Li
>            Priority: Blocker
>             Fix For: 2.0.0
>
>
> When fetching the partitioned table, the output contains wrong results regarding partitioning key. 
> {noformat}
> CREATE TABLE table_with_partition(c1 string) PARTITIONED BY (p1 string,p2 string,p3 string,p4 string,p5 string)
> INSERT OVERWRITE TABLE table_with_partition PARTITION (p1='a',p2='b',p3='c',p4='d',p5='e') SELECT 'blarr'
> SELECT p1, p2, p3, p4, p5, c1 FROM table_with_partition
> {noformat}
> {noformat}
> +---+---+---+---+---+-----+
> | p1| p2| p3| p4| p5|   c1|
> +---+---+---+---+---+-----+
> |  d|  e|  c|  b|  a|blarr|
> +---+---+---+---+---+-----+
> {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