Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.4.0
-
None
-
4 node cluster
Description
count distinct query with min max and group by and order by returns incorrect results on MapR Drill 1.4.0, MapR FS 5.0.0 GA and JDK8
The difference is in the way we round off values after the decimal when using JDK8.
Expected results file can be found here
https://github.com/mapr/drill-test-framework/blob/master/framework/resources/Functional/aggregates/aggregation/count_distinct/with_min_max_c_float_group_by_1_cols.res
Failing query is Functional/aggregates/aggregation/count_distinct/
with_min_max_c_float_group_by_1_cols.sql
select count(distinct c_float), max(c_float), min(c_float) from alltypes_with_nulls group by c_date order by c_date;