You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Jesus Camacho Rodriguez (Jira)" <ji...@apache.org> on 2021/01/19 15:17:00 UTC
[jira] [Resolved] (HIVE-24646) Strict type checks are not enforced
between bigints and doubles
[ https://issues.apache.org/jira/browse/HIVE-24646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jesus Camacho Rodriguez resolved HIVE-24646.
--------------------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
> Strict type checks are not enforced between bigints and doubles
> ----------------------------------------------------------------
>
> Key: HIVE-24646
> URL: https://issues.apache.org/jira/browse/HIVE-24646
> Project: Hive
> Issue Type: Bug
> Reporter: Stamatis Zampetakis
> Assignee: Stamatis Zampetakis
> Priority: Major
> Fix For: 4.0.0
>
>
> When the {{hive.strict.checks.type.safety}} property is set to true, queries with comparisons between bigints and doubles should fail according to the description of the property.
> At the moment a warning message is displayed in the console but the query doesn't fail no matter the value of the property.
> {noformat}
> WARNING: Comparing a bigint and a double may result in a loss of precision.
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)