Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
Impala 3.0
-
None
-
None
-
ghx-label-7
Description
The test case ParserTest.TestNumericLiteralMinMaxValues() incorrectly expects success on DOUBLE constant overflow and underflow:
ParsesOk(String.format("select %s1", Double.toString(Double.MIN_VALUE))); ParsesOk(String.format("select %s1", Double.toString(Double.MAX_VALUE)));
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.
Attachments
Issue Links
- Is contained by
-
IMPALA-7902 Revise NumericLiteral to avoid analysis, fix multiple issues
- Resolved