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 92F5810DA7 for ; Tue, 24 Sep 2013 23:16:09 +0000 (UTC) Received: (qmail 7901 invoked by uid 500); 24 Sep 2013 23:16:08 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 7744 invoked by uid 500); 24 Sep 2013 23:16:08 -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 6873 invoked by uid 500); 24 Sep 2013 23:16:07 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 6708 invoked by uid 99); 24 Sep 2013 23:16:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Sep 2013 23:16:05 +0000 Date: Tue, 24 Sep 2013 23:16:05 +0000 (UTC) From: "Sergey Shelukhin (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-5190) partition retrieval via JDO is inconsistent between by-name and by-filter method 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-5190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13776902#comment-13776902 ] Sergey Shelukhin commented on HIVE-5190: ---------------------------------------- [~ashutoshc] you are asking me about this often, you should watch this jira :) > partition retrieval via JDO is inconsistent between by-name and by-filter method > -------------------------------------------------------------------------------- > > Key: HIVE-5190 > URL: https://issues.apache.org/jira/browse/HIVE-5190 > Project: Hive > Issue Type: Bug > Components: Metastore > Reporter: Sergey Shelukhin > Priority: Minor > > When we get partitions by name, we call retrieveAll, forcing the retrieval of all fields of the partition. Retrieving by filter has: > {code} > // pm.retrieveAll(mparts); // retrieveAll is pessimistic. some fields may not be needed > {code} > The code moved around recently but it was there for a while. This may cause inconsistent results from two methods in terms of what fields are set. -- 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