[ https://issues.apache.org/jira/browse/HIVE-6022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13846397#comment-13846397 ]
Xuefu Zhang commented on HIVE-6022: ----------------------------------- [~tzenmyo] Thanks for your contribution. Could you please put a review board entry here? > Load statements with incorrect order of partitions put input files to > unreadable places > --------------------------------------------------------------------------------------- > > Key: HIVE-6022 > URL: https://issues.apache.org/jira/browse/HIVE-6022 > Project: Hive > Issue Type: Bug > Components: Query Processor > Reporter: Teruyoshi Zenmyo > Attachments: HIVE-6022.1.patch.txt > > > Load statements with incorrect order of partitions put input files to > incorrect paths. > {code} > CREATE TABLE test_parts (c1 string, c2 int) PARTITIONED BY (p1 string,p2 > string); > LOAD DATA LOCAL INPATH '/opt/hive/examples/files/kv1.txt' OVERWRITE INTO > TABLE test_parts PARTITION (p2='p1', p1='p2')" > {code} > The input file is located as below and the data is not readable. > {code} > % find /user/hive/warehouse/test_parts/ > /user/hive/warehouse/test_parts/ > /user/hive/warehouse/test_parts//p1=p2 > /user/hive/warehouse/test_parts//p1=p2/p2=p1 > /user/hive/warehouse/test_parts//p2=p1 > /user/hive/warehouse/test_parts//p2=p1/p1=p2 > /user/hive/warehouse/test_parts//p2=p1/p1=p2/.kv1.txt.crc > /user/hive/warehouse/test_parts//p2=p1/p1=p2/kv1.txt > {code} -- This message was sent by Atlassian JIRA (v6.1.4#6159)