[ https://issues.apache.org/jira/browse/SPARK-15655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yin Huai updated SPARK-15655: ----------------------------- Assignee: Xiao Li > 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 > > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org