You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Stamatis Zampetakis (Jira)" <ji...@apache.org> on 2021/01/16 00:10:00 UTC

[jira] [Created] (HIVE-24646) Strict type checks are not enforced between bigints and doubles

Stamatis Zampetakis created HIVE-24646:
------------------------------------------

             Summary: 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


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)