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 CBE2BD85E for ; Mon, 20 May 2013 23:21:16 +0000 (UTC) Received: (qmail 24573 invoked by uid 500); 20 May 2013 23:21:16 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 24499 invoked by uid 500); 20 May 2013 23:21:16 -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 24485 invoked by uid 500); 20 May 2013 23:21:16 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 24427 invoked by uid 99); 20 May 2013 23:21:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 May 2013 23:21:16 +0000 Date: Mon, 20 May 2013 23:21:16 +0000 (UTC) From: "Jitendra Nath Pandey (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-4534) IsNotNull and NotCol incorrectly handle nulls. 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-4534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jitendra Nath Pandey updated HIVE-4534: --------------------------------------- Attachment: HIVE-4534.2.patch Attached patch has additional unit tests, could not create review board entry because this patch is on top of HIVE-4472 patch. > IsNotNull and NotCol incorrectly handle nulls. > ---------------------------------------------- > > Key: HIVE-4534 > URL: https://issues.apache.org/jira/browse/HIVE-4534 > Project: Hive > Issue Type: Sub-task > Reporter: Eric Hanson > Assignee: Jitendra Nath Pandey > Attachments: HIVE-4534.1.patch, HIVE-4534.2.patch > > > See file IsNotNull.java in package org.apache.hadoop.hive.ql.exec.vector.expressions > It never looks at the noNulls flag on the input vector, but accesses the isNull[] array anyway. This can yield incorrect results. > isRepeating and noNulls are not set in the output, which can also cause wrong results. -- 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