Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
Impala 1.4, Impala 1.4.1, Impala 2.0, Impala 2.0.1, Impala 2.1, Impala 2.1.1
-
None
Description
We should extend our support for string->decimal casts to accept strings representing a number in scientific notation. For example:
select cast("1.0e7" as decimal(9,4))
In the code, the problem is that StringParser::StringToDecimal() in string-parser.h does not support parsing scientific notation.
Attachments
Issue Links
- is duplicated by
-
IMPALA-1594 cast empty string to decimal should be consistent with other numeric types
- Resolved