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 EA85510584 for ; Sun, 20 Oct 2013 16:08:49 +0000 (UTC) Received: (qmail 80844 invoked by uid 500); 20 Oct 2013 16:08:47 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 80797 invoked by uid 500); 20 Oct 2013 16:08:44 -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 80789 invoked by uid 500); 20 Oct 2013 16:08:42 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 80781 invoked by uid 99); 20 Oct 2013 16:08:42 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Oct 2013 16:08:42 +0000 Date: Sun, 20 Oct 2013 16:08:42 +0000 (UTC) From: "Chun Chen (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-5358) ReduceSinkDeDuplication should ignore column orders when check overlapping part of keys between parent and child 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-5358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chun Chen updated HIVE-5358: ---------------------------- Status: Open (was: Patch Available) > ReduceSinkDeDuplication should ignore column orders when check overlapping part of keys between parent and child > ---------------------------------------------------------------------------------------------------------------- > > Key: HIVE-5358 > URL: https://issues.apache.org/jira/browse/HIVE-5358 > Project: Hive > Issue Type: Improvement > Components: Query Processor > Reporter: Chun Chen > Assignee: Chun Chen > Attachments: D13113.1.patch, HIVE-5358.2.patch, HIVE-5358.3.patch, HIVE-5358.patch > > > {code} > select key, value from (select key, value from src group by key, value) t group by key, value; > {code} > This can be optimized by ReduceSinkDeDuplication > {code} > select key, value from (select key, value from src group by key, value) t group by value, key; > {code} > However the sql above can't be optimized by ReduceSinkDeDuplication currently due to different column orders of parent and child operator. -- This message was sent by Atlassian JIRA (v6.1#6144)