Inserting into a partitioned table without specifying the partition field 
should fail
-------------------------------------------------------------------------------------

                 Key: HIVE-527
                 URL: https://issues.apache.org/jira/browse/HIVE-527
             Project: Hadoop Hive
          Issue Type: Bug
            Reporter: Zheng Shao


The following piece of code should fail but it succeeded - and it deletes all 
existing partitions of zshao_p.

{code}
CREATE TABLE zshao_p (a string) PARTITIONED BY (ds string);
INSERT OVERWRITE table zshao_p SELECT 1 from zshao_tt;
{code}

It should output an error saying that the partition key/value pair is not 
specified.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to