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 6DE14173F5 for ; Thu, 16 Oct 2014 01:15:34 +0000 (UTC) Received: (qmail 53564 invoked by uid 500); 16 Oct 2014 01:15:34 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 53501 invoked by uid 500); 16 Oct 2014 01:15:34 -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 53486 invoked by uid 500); 16 Oct 2014 01:15:34 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 53483 invoked by uid 99); 16 Oct 2014 01:15:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Oct 2014 01:15:33 +0000 Date: Thu, 16 Oct 2014 01:15:33 +0000 (UTC) From: "Prasanth J (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-8460) ORC SARG literal creation for double from float may lead to wrong evaluation of SARG 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-8460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Prasanth J updated HIVE-8460: ----------------------------- Description: e.g., expression like d = 0.22 where 0.22 is of float type, gets converted to double d = 0.219999986 in SARG creation. This will cause erroneous evaluation of SARG expression. was:e.g., expression like d = 0.22 where 0.22 is of float type, after it goes through Kryo + base64 ser/deserialization cycle via jobconf becomes d = 0.219999986 > ORC SARG literal creation for double from float may lead to wrong evaluation of SARG > ------------------------------------------------------------------------------------ > > Key: HIVE-8460 > URL: https://issues.apache.org/jira/browse/HIVE-8460 > Project: Hive > Issue Type: Bug > Components: Query Processor > Affects Versions: 0.13.0, 0.13.1 > Reporter: Ashutosh Chauhan > > e.g., expression like d = 0.22 where 0.22 is of float type, gets converted to double d = 0.219999986 in SARG creation. This will cause erroneous evaluation of SARG expression. -- This message was sent by Atlassian JIRA (v6.3.4#6332)