Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7A9E110AE4 for ; Wed, 18 Sep 2013 16:30:15 +0000 (UTC) Received: (qmail 86290 invoked by uid 500); 18 Sep 2013 16:30:00 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 86175 invoked by uid 500); 18 Sep 2013 16:29:57 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 85899 invoked by uid 500); 18 Sep 2013 16:29:53 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 85884 invoked by uid 99); 18 Sep 2013 16:29:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Sep 2013 16:29:52 +0000 Date: Wed, 18 Sep 2013 16:29:52 +0000 (UTC) From: "Brock Noland (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-5302) PartitionPruner fails on Avro non-partitioned data MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-5302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13770932#comment-13770932 ] Brock Noland commented on HIVE-5302: ------------------------------------ The change looks reasonable to me. About this change Ashutosh said "[Your changes in MetaStoreUtils are indeed reasonable. I just wanted to make sure whether they are really needed. If you can come up with a testcase, which shows the failure without changes in MetaStoreUtils, that will make it easier to concretize why these changes are useful.|https://issues.apache.org/jira/browse/HIVE-4789?focusedCommentId=13732634&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13732634]" in HIVE-4789. > PartitionPruner fails on Avro non-partitioned data > -------------------------------------------------- > > Key: HIVE-5302 > URL: https://issues.apache.org/jira/browse/HIVE-5302 > Project: Hive > Issue Type: Bug > Components: Serializers/Deserializers > Affects Versions: 0.11.0 > Reporter: Sean Busbey > Assignee: Sean Busbey > Priority: Blocker > Labels: avro > Attachments: HIVE-5302.1-branch-0.12.patch.txt, HIVE-5302.1.patch.txt, HIVE-5302.1.patch.txt > > > While updating HIVE-3585 I found a test case that causes the failure in the MetaStoreUtils partition retrieval from back in HIVE-4789. > in this case, the failure is triggered when the partition pruner is handed a non-partitioned table and has to construct a pseudo-partition. > e.g. > {code} > INSERT OVERWRITE TABLE partitioned_table PARTITION(col) SELECT id, foo, col FROM non_partitioned_table WHERE col <= 9; > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira