[ 
https://issues.apache.org/jira/browse/IMPALA-7894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul Rogers resolved IMPALA-7894.
---------------------------------
    Resolution: Fixed

> Parser does not catch double overflow
> -------------------------------------
>
>                 Key: IMPALA-7894
>                 URL: https://issues.apache.org/jira/browse/IMPALA-7894
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Frontend
>    Affects Versions: Impala 3.0
>            Reporter: Paul Rogers
>            Assignee: Paul Rogers
>            Priority: Minor
>
> The test case {{ParserTest.TestNumericLiteralMinMaxValues()}} incorrectly 
> expects success on {{DOUBLE}} constant overflow and underflow:
> {code:java}
>     ParsesOk(String.format("select %s1", Double.toString(Double.MIN_VALUE)));
>     ParsesOk(String.format("select %s1", Double.toString(Double.MAX_VALUE)));
> {code}
> These values are actually out of range as tested by 
> {{NumericLiteral.analyzeImpl()}}. However, the parser uses a code path that 
> bypasses this check.
> Expected that the above tests will fail, not succeed.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to