You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Zoltan Haindrich (JIRA)" <ji...@apache.org> on 2018/08/02 10:38:00 UTC

[jira] [Created] (HIVE-20295) Remove !isNumber check after failed constant interpretation

Zoltan Haindrich created HIVE-20295:
---------------------------------------

             Summary: Remove !isNumber check after failed constant interpretation
                 Key: HIVE-20295
                 URL: https://issues.apache.org/jira/browse/HIVE-20295
             Project: Hive
          Issue Type: Improvement
            Reporter: Zoltan Haindrich


During constant interpretation; if the number can't be parsed - it might be possible that the comparsion is out of range for the type in question - in which case it could be removed.

https://github.com/apache/hive/blob/2cabb8da150b8fb980223fbd6c2c93b842ca3ee5/ql/src/java/org/apache/hadoop/hive/ql/parse/TypeCheckProcFactory.java#L1163



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)