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 D33E1D693 for ; Sat, 15 Dec 2012 01:48:13 +0000 (UTC) Received: (qmail 69706 invoked by uid 500); 15 Dec 2012 01:48:12 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 69628 invoked by uid 500); 15 Dec 2012 01:48:12 -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 69432 invoked by uid 500); 15 Dec 2012 01:48:12 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 69341 invoked by uid 99); 15 Dec 2012 01:48:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Dec 2012 01:48:12 +0000 Date: Sat, 15 Dec 2012 01:48:12 +0000 (UTC) From: "Kevin Wilfong (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-3774) Sort merge join should work if join cols are a prefix of sort columns for each partition 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-3774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13532882#comment-13532882 ] Kevin Wilfong commented on HIVE-3774: ------------------------------------- +1 > Sort merge join should work if join cols are a prefix of sort columns for each partition > ---------------------------------------------------------------------------------------- > > Key: HIVE-3774 > URL: https://issues.apache.org/jira/browse/HIVE-3774 > Project: Hive > Issue Type: Bug > Components: Query Processor > Reporter: Namit Jain > Assignee: Namit Jain > Attachments: hive.3774.1.patch, hive.3774.2.patch, hive.3774.3.patch > > > Currently, a join is converted into a sort-merge join only if the join cols exactly matches the sort cols. > This constraint can definitely be relaxed. -- 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