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 B524E1093A for ; Thu, 23 Jan 2014 19:32:44 +0000 (UTC) Received: (qmail 73981 invoked by uid 500); 23 Jan 2014 19:32:38 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 73900 invoked by uid 500); 23 Jan 2014 19:32:38 -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 73889 invoked by uid 500); 23 Jan 2014 19:32:38 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 73885 invoked by uid 99); 23 Jan 2014 19:32:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jan 2014 19:32:38 +0000 Date: Thu, 23 Jan 2014 19:32:37 +0000 (UTC) From: "Sergey Shelukhin (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HIVE-6292) ponder doing stats-based aggregations in metastore MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Sergey Shelukhin created HIVE-6292: -------------------------------------- Summary: ponder doing stats-based aggregations in metastore Key: HIVE-6292 URL: https://issues.apache.org/jira/browse/HIVE-6292 Project: Hive Issue Type: Improvement Components: Metastore, Statistics Reporter: Sergey Shelukhin StatsOptimizer currently fetches partition stats from metastore and then performs the aggregation. We could do some of these aggregations directly in metastore. It's probably not a very good idea to mess with SQL queries against underlying database, but at least if MS did the same loops we could avoid a bunch of network communication; that would be esp. good for tables with very large number of partitions. -- This message was sent by Atlassian JIRA (v6.1.5#6160)