Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
Impala 1.4
-
None
Description
We get wrong results when we query an HDFS table that has a DECIMAL partition key.
To reproduce:
create external table test(id int, dec decimal(5,4)) partitioned by(decimal_col DECIMAL(5,4)) row format delimited fields terminated by ',';
insert into test partition(decimal_col=4.34) values (1, 3.14);
select * from test;
Query: select * from test
---------------------
id | dec | decimal_col |
---------------------
1 | 3.1400 | 43400.0000 |
---------------------