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 7D21B97E6 for ; Thu, 26 Jul 2012 13:36:14 +0000 (UTC) Received: (qmail 51092 invoked by uid 500); 26 Jul 2012 13:27:29 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 36283 invoked by uid 500); 26 Jul 2012 13:27:05 -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 48448 invoked by uid 500); 26 Jul 2012 13:24:00 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 17508 invoked by uid 99); 26 Jul 2012 05:19:34 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jul 2012 05:19:34 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 8D46A142838 for ; Thu, 26 Jul 2012 05:19:34 +0000 (UTC) Date: Thu, 26 Jul 2012 05:19:34 +0000 (UTC) From: "Namit Jain (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <1245418086.104852.1343279974580.JavaMail.jiratomcat@issues-vm> In-Reply-To: <2146154034.44747.1302289866427.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HIVE-2101) mapjoin sometimes gives wrong results if there is a filter in the on condition 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-2101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13422898#comment-13422898 ] Namit Jain commented on HIVE-2101: ---------------------------------- I agree, this is an important bug. Navis, Thanks for the patch - I will take a look today. > mapjoin sometimes gives wrong results if there is a filter in the on condition > ------------------------------------------------------------------------------ > > Key: HIVE-2101 > URL: https://issues.apache.org/jira/browse/HIVE-2101 > Project: Hive > Issue Type: Bug > Affects Versions: 0.10.0 > Reporter: He Yongqiang > Assignee: Navis > Attachments: HIVE-2101.1.patch.txt > > > "SELECT / * + mapjoin(src1, src2) * / * FROM src src1 RIGHT OUTER JOIN src src2 ON (src1.key = src2.key AND src1.key < 10 AND src2.key > 10) JOIN src src3 ON (src2.key = src3.key AND src3.key < 10) SORT BY src1.key, src1.value, src2.key, src2.value, src3.key, src3.value;" will give wrong results in today's hive -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira