Dynamic partition insert should enforce the order of the partition spec is the 
same as the one in schema
--------------------------------------------------------------------------------------------------------

                 Key: HIVE-2519
                 URL: https://issues.apache.org/jira/browse/HIVE-2519
             Project: Hive
          Issue Type: Bug
            Reporter: Ning Zhang


Suppose the table schema is (a string, b string) partitioned by (p1 string, p2 
string), a dynamic partition insert is allowed to:

insert overwrite ... partition (p2="...", p1);

which will create the wrong HDFS directory structure such as 
/.../p2=.../p1=.... This is contradictory to the metastore's assumption of the 
HDFS directory structure. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to