Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Not A Bug
-
Impala 2.3.0
-
None
Description
See test case below:
create table test (a float);
put the following data manually into HDFS location for the table:
3.302823479723636e+38 3.302823479723636e+58 test
now select data out from Impala return the following:
Query: select * from test
+-----------------------+
| a |
+-----------------------+
| 3.302823479723636e+38 |
| Infinity |
| NULL |
+-----------------------+
WARNINGS: Error converting column: 0 TO FLOAT (Data is: test)
file: hdfs://host-10-17-80-87.coe.cloudera.com:8020/user/hive/warehouse/case_88616.db/test/float.txt
record: test
Fetched 3 row(s) in 1.48s
Ideally both records 2 and 3 should both return NULL for consistency with similar error message.