Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E6162200B29 for ; Thu, 30 Jun 2016 17:52:11 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E4AD7160A74; Thu, 30 Jun 2016 15:52:11 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6720A160A06 for ; Thu, 30 Jun 2016 17:52:11 +0200 (CEST) Received: (qmail 69053 invoked by uid 500); 30 Jun 2016 15:52:10 -0000 Mailing-List: contact issues-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 issues@hive.apache.org Received: (qmail 69013 invoked by uid 99); 30 Jun 2016 15:52:10 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Jun 2016 15:52:10 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8069A2C027F for ; Thu, 30 Jun 2016 15:52:10 +0000 (UTC) Date: Thu, 30 Jun 2016 15:52:10 +0000 (UTC) From: "Jesus Camacho Rodriguez (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Work started] (HIVE-14027) NULL values produced by left outer join do not behave as NULL MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 30 Jun 2016 15:52:12 -0000 [ https://issues.apache.org/jira/browse/HIVE-14027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on HIVE-14027 started by Jesus Camacho Rodriguez. ------------------------------------------------------ > NULL values produced by left outer join do not behave as NULL > ------------------------------------------------------------- > > Key: HIVE-14027 > URL: https://issues.apache.org/jira/browse/HIVE-14027 > Project: Hive > Issue Type: Bug > Components: Query Processor > Affects Versions: 1.2.1, 2.2.0 > Reporter: Vaibhav Gumashta > Assignee: Jesus Camacho Rodriguez > Attachments: HIVE-14027.01.patch, HIVE-14027.patch > > > Consider the following setup: > {code} > create table tbl (n bigint, t string); > insert into tbl values (1, 'one'); > insert into tbl values(2, 'two'); > select a.n, a.t, isnull(b.n), isnull(b.t) from (select * from tbl where n = 1) a left outer join (select * from tbl where 1 = 2) b on a.n = b.n; > 1 one false true > {code} > The query should return true for isnull(b.n). > I've tested by inserting a row with null value for the bigint column into tbl, and isnull returns true in that case. -- This message was sent by Atlassian JIRA (v6.3.4#6332)