hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zheng Shao (JIRA)" <j...@apache.org>
Subject [jira] Created: (HIVE-527) Inserting into a partitioned table without specifying the partition field should fail
Date Tue, 02 Jun 2009 04:02:07 GMT
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.


Mime
View raw message