Return-Path: Delivered-To: apmail-hadoop-hive-dev-archive@minotaur.apache.org Received: (qmail 74602 invoked from network); 9 Jul 2009 16:46:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Jul 2009 16:46:29 -0000 Received: (qmail 15929 invoked by uid 500); 9 Jul 2009 16:46:39 -0000 Delivered-To: apmail-hadoop-hive-dev-archive@hadoop.apache.org Received: (qmail 15877 invoked by uid 500); 9 Jul 2009 16:46:39 -0000 Mailing-List: contact hive-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hadoop.apache.org Delivered-To: mailing list hive-dev@hadoop.apache.org Received: (qmail 15867 invoked by uid 99); 9 Jul 2009 16:46:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jul 2009 16:46:39 +0000 X-ASF-Spam-Status: No, hits=-1999.6 required=10.0 tests=ALL_TRUSTED,SUBJECT_FUZZY_TION X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jul 2009 16:46:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E033229A0014 for ; Thu, 9 Jul 2009 09:46:14 -0700 (PDT) Message-ID: <212256013.1247157974917.JavaMail.jira@brutus> Date: Thu, 9 Jul 2009 09:46:14 -0700 (PDT) From: "Namit Jain (JIRA)" To: hive-dev@hadoop.apache.org Subject: [jira] Updated: (HIVE-527) Inserting into a partitioned table without specifying the partition field should fail In-Reply-To: <1145798207.1243915327387.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HIVE-527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Namit Jain updated HIVE-527: ---------------------------- Resolution: Fixed Fix Version/s: 0.4.0 Hadoop Flags: [Reviewed] Status: Resolved (was: Patch Available) Committed. Thanks Yongqiang. > 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 > Assignee: Yongqiang He > Fix For: 0.4.0 > > Attachments: hive-527-2009-06-11-2.patch, hive-527-2009-06-12.patch > > > 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.