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 8BDA8CC73 for ; Fri, 29 Jun 2012 20:29:45 +0000 (UTC) Received: (qmail 31069 invoked by uid 500); 29 Jun 2012 20:29:45 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 31013 invoked by uid 500); 29 Jun 2012 20:29:45 -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 31005 invoked by uid 500); 29 Jun 2012 20:29:44 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 31001 invoked by uid 99); 29 Jun 2012 20:29:44 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jun 2012 20:29:44 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 66874141BDA for ; Fri, 29 Jun 2012 20:29:44 +0000 (UTC) Date: Fri, 29 Jun 2012 20:29:44 +0000 (UTC) From: "Kevin Wilfong (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <1693070529.73155.1341001784423.JavaMail.jiratomcat@issues-vm> In-Reply-To: <427182216.11148.1314982150129.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HIVE-2427) Warn user that precision is lost when bigint is implicitly cast to double in joins and unions. 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-2427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Wilfong updated HIVE-2427: -------------------------------- Status: Patch Available (was: Open) > Warn user that precision is lost when bigint is implicitly cast to double in joins and unions. > ---------------------------------------------------------------------------------------------- > > Key: HIVE-2427 > URL: https://issues.apache.org/jira/browse/HIVE-2427 > Project: Hive > Issue Type: Improvement > Reporter: Kevin Wilfong > Assignee: Kevin Wilfong > Attachments: HIVE-2427.1.patch.txt, HIVE-2427.2.patch.txt, HIVE-2427.3.patch.txt, HIVE-2427.5.patch.txt, HIVE-2427.D2181.1.patch > > > When a bigint is implicitly cast to a double (when a bigint is involved in an equality expression with a string or double as part of a join condition, or when a bigint column is to be combined with a string or double column as part of a union) 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. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira