You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "He Yongqiang (JIRA)" <ji...@apache.org> on 2009/06/11 09:25:07 UTC

[jira] Commented: (HIVE-527) Inserting into a partitioned table without specifying the partition field should fail

    [ 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.