Github user vladimirtkach commented on a diff in the pull request:
https://github.com/apache/drill/pull/1123#discussion_r168918725
--- Diff: exec/java-exec/src/main/codegen/templates/AggrTypeFunctions1.java
---
@@ -102,7 +102,20 @@ public void add() {
</#if>
nonNullCount.value = 1;
<#if aggrtype.funcName == "min">
- value.value = Math.min(value.value, in.value);
+ <#if type.inputType?contains("Float4") ||
type.inputType?contains("Float8")>
--- End diff --
@arina-ielchiieva code is updated.---
