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 180DE8A34 for ; Wed, 31 Aug 2011 00:19:35 +0000 (UTC) Received: (qmail 94298 invoked by uid 500); 31 Aug 2011 00:19:34 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 94230 invoked by uid 500); 31 Aug 2011 00:19: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 94212 invoked by uid 500); 31 Aug 2011 00:19:33 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 94200 invoked by uid 99); 31 Aug 2011 00:19:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Aug 2011 00:19:33 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Aug 2011 00:19:31 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id D37E7418EB for ; Wed, 31 Aug 2011 00:19:09 +0000 (UTC) Date: Wed, 31 Aug 2011 00:19:09 +0000 (UTC) From: "Siying Dong (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <1731078080.700.1314749949863.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <17489902.40018.1313450967539.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (HIVE-2378) Warn user that precision is lost when bigint is implicitly cast to double. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HIVE-2378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Siying Dong resolved HIVE-2378. ------------------------------- Resolution: Fixed Committed. Thanks Kevin! > Warn user that precision is lost when bigint is implicitly cast to double. > -------------------------------------------------------------------------- > > Key: HIVE-2378 > URL: https://issues.apache.org/jira/browse/HIVE-2378 > Project: Hive > Issue Type: Improvement > Reporter: Kevin Wilfong > Assignee: Kevin Wilfong > Attachments: HIVE-2378.1.patch.txt, HIVE-2378.2.patch.txt, HIVE-2378.3.patch.txt > > > When a bigint is implicitly cast to a double (when a bigint is involved in an equality expression with a string or double) precision may be lost, resulting in unexpected behavior. Until we fix the underlying issue we should throw an error in strict mode, and a warning in nonstrict mode alerting the user about this. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira