[ https://issues.apache.org/jira/browse/HIVE-2378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13404172#comment-13404172 ]
Kevin Wilfong commented on HIVE-2378: ------------------------------------- As part of HIVE-2427 I want to make this controlled by a new config hive.mapred.bigint.comparison.mode instead of hive.mapred.mode because hive.mapred.mode is used to control too many things. > 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 > Fix For: 0.8.0 > > 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. 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