hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "He Yongqiang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-527) Inserting into a partitioned table without specifying the partition field should fail
Date Thu, 11 Jun 2009 07:25:07 GMT

    [ https://issues.apache.org/jira/browse/HIVE-527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12718329#action_12718329
] 

He Yongqiang commented on HIVE-527:
-----------------------------------

Then what about the load overwrite data statement? Should it also report an error if no partition
specified? 

> 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