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 77CA9D5A9 for ; Fri, 11 Jan 2013 00:16:16 +0000 (UTC) Received: (qmail 50087 invoked by uid 500); 11 Jan 2013 00:16:15 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 50025 invoked by uid 500); 11 Jan 2013 00:16:15 -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 49976 invoked by uid 500); 11 Jan 2013 00:16:15 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 49961 invoked by uid 99); 11 Jan 2013 00:16:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jan 2013 00:16:15 +0000 Date: Fri, 11 Jan 2013 00:16:15 +0000 (UTC) From: "Kevin Wilfong (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-933) Infer bucketing/sorting properties 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-933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Wilfong updated HIVE-933: ------------------------------- Status: Patch Available (was: Open) > Infer bucketing/sorting properties > ---------------------------------- > > Key: HIVE-933 > URL: https://issues.apache.org/jira/browse/HIVE-933 > Project: Hive > Issue Type: New Feature > Components: Query Processor > Reporter: Namit Jain > Assignee: Kevin Wilfong > Attachments: HIVE-933.1.patch.txt, HIVE-933.2.patch.txt, HIVE-933.3.patch.txt, HIVE-933.4.patch.txt, HIVE-933.5.patch.txt, HIVE-933.6.patch.txt, HIVE-933.7.patch.txt, HIVE-933.8.patch.txt, HIVE-933.9.patch.txt > > > This is a long-term plan, and may require major changes. > From the query, we can figure out the sorting/bucketing properties, and change the metadata of the destination at that time. > However, this means that different partitions may have different metadata. Currently, the query plan is same for all the > partitions of the table - we can do the following: > 1. In the first cut, have a simple approach where you take the union all metadata, and create the most defensive plan. > 2. Enhance mapredWork() to include partition specific operator trees. -- 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