Return-Path: Delivered-To: apmail-hadoop-hive-dev-archive@minotaur.apache.org Received: (qmail 6030 invoked from network); 30 Aug 2010 05:22:44 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Aug 2010 05:22:44 -0000 Received: (qmail 32235 invoked by uid 500); 30 Aug 2010 05:22:43 -0000 Delivered-To: apmail-hadoop-hive-dev-archive@hadoop.apache.org Received: (qmail 32057 invoked by uid 500); 30 Aug 2010 05:22:40 -0000 Mailing-List: contact hive-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hadoop.apache.org Delivered-To: mailing list hive-dev@hadoop.apache.org Received: (qmail 32049 invoked by uid 99); 30 Aug 2010 05:22:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Aug 2010 05:22:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Aug 2010 05:22:39 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7U5MItn003573 for ; Mon, 30 Aug 2010 05:22:19 GMT Message-ID: <10544046.63451283145738855.JavaMail.jira@thor> Date: Mon, 30 Aug 2010 01:22:18 -0400 (EDT) From: "Amareshwari Sriramadasu (JIRA)" To: hive-dev@hadoop.apache.org Subject: [jira] Commented: (HIVE-1605) regression and improvements in handling NULLs in joins In-Reply-To: <8530693.38691282940093318.JavaMail.jira@thor> 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-1605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12904085#action_12904085 ] Amareshwari Sriramadasu commented on HIVE-1605: ----------------------------------------------- Ning, Thanks for looking into this. A couple of minor comments: * Patch has many debug logs and commented code. do you want to remove them? * Do you want to remove hasAllNulls method from AbstractMapJoinOperator.java? > regression and improvements in handling NULLs in joins > ------------------------------------------------------ > > Key: HIVE-1605 > URL: https://issues.apache.org/jira/browse/HIVE-1605 > Project: Hadoop Hive > Issue Type: Improvement > Reporter: Ning Zhang > Assignee: Ning Zhang > Attachments: HIVE-1605.patch > > > There are regressions in sort-merge map join after HIVE-741. There are a lot of OOM exceptions in SMBMapJoinOperator. This caused by the HashMap maintained for each key to remember whether it is NULL. This takes too much memory when the tables are large. > A second issu is in handling NULLs if the join keys are more than 1 column. This appears in regular MapJoin as well as SMBMapJoin. The code only checks if all the columns are NULL. It should return false in match if any joined value is NULL. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.