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 915B91896D for ; Thu, 24 Dec 2015 01:03:47 +0000 (UTC) Received: (qmail 60039 invoked by uid 500); 24 Dec 2015 01:03:46 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 59963 invoked by uid 500); 24 Dec 2015 01:03:46 -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 59920 invoked by uid 99); 24 Dec 2015 01:03:46 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Dec 2015 01:03:46 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A208A2C0451 for ; Thu, 24 Dec 2015 01:03:46 +0000 (UTC) Date: Thu, 24 Dec 2015 01:03:46 +0000 (UTC) From: "Pengcheng Xiong (JIRA)" To: dev@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HIVE-12742) NULL table comparison within CASE does not work as previous hive versions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Pengcheng Xiong created HIVE-12742: -------------------------------------- Summary: NULL table comparison within CASE does not work as previous hive versions Key: HIVE-12742 URL: https://issues.apache.org/jira/browse/HIVE-12742 Project: Hive Issue Type: Bug Reporter: Pengcheng Xiong Assignee: Pengcheng Xiong drop table test_1; create table test_1 (id int, id2 int); insert into table test_1 values (123, NULL); SELECT cast(CASE WHEN id = id2 THEN FALSE ELSE TRUE END AS BOOLEAN) AS b FROM test_1; --NULL But the output should be true (confirmed with postgres.) -- This message was sent by Atlassian JIRA (v6.3.4#6332)