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 4797F106BD for ; Fri, 6 Sep 2013 23:50:02 +0000 (UTC) Received: (qmail 62195 invoked by uid 500); 6 Sep 2013 23:50:00 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 62135 invoked by uid 500); 6 Sep 2013 23:50:00 -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 62098 invoked by uid 500); 6 Sep 2013 23:50:00 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 62085 invoked by uid 99); 6 Sep 2013 23:50:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Sep 2013 23:50:00 +0000 Date: Fri, 6 Sep 2013 23:50:00 +0000 (UTC) From: "Hudson (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-5158) allow getting all partitions for table to also use direct SQL path 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-5158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13760771#comment-13760771 ] Hudson commented on HIVE-5158: ------------------------------ FAILURE: Integrated in Hive-trunk-hadoop1-ptest #153 (See [https://builds.apache.org/job/Hive-trunk-hadoop1-ptest/153/]) HIVE-5158 : allow getting all partitions for table to also use direct SQL path (Sergey Shelukhin via Ashutosh Chauhan) (hashutosh: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1520589) * /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java * /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java * /hive/trunk/metastore/src/test/org/apache/hadoop/hive/metastore/VerifyingObjectStore.java * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/optimizer/ppr/PartitionPruner.java > allow getting all partitions for table to also use direct SQL path > ------------------------------------------------------------------ > > Key: HIVE-5158 > URL: https://issues.apache.org/jira/browse/HIVE-5158 > Project: Hive > Issue Type: Improvement > Reporter: Sergey Shelukhin > Assignee: Sergey Shelukhin > Fix For: 0.12.0 > > Attachments: HIVE-5158.D12573.1.patch, HIVE-5158.D12573.2.patch, HIVE-5158.D12573.3.patch, HIVE-5158.D12573.4.patch, HIVE-5158.D12573.5.patch, HIVE-5158.D12573.6.patch, HIVE-5158.D12573.7.patch, HIVE-5158.D12573.8.patch > > > While testing some queries I noticed that getPartitions can be very slow (which happens e.g. in non-strict mode with no partition column filter); with a table with many partitions it can take 10-12s easily. SQL perf path can also be used for this path. -- 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