liyang created CALCITE-735:
------------------------------

             Summary: Double.MIN_VALUE is the negative in Primitive.java
                 Key: CALCITE-735
                 URL: https://issues.apache.org/jira/browse/CALCITE-735
             Project: Calcite
          Issue Type: Bug
            Reporter: liyang
            Assignee: Julian Hyde


Kylin user reported max() of negative doubles does not return correct result. 
https://issues.apache.org/jira/browse/KYLIN-751

The root cause is the initial value of calcite aggregator is not a negative 
double. In Primitive.java, it took Double.MIN_VALUE as the smallest double 
value but that actually is not a negative number according to javadoc.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to