Github user kumarvishal09 commented on a diff in the pull request:
    --- Diff: 
core/src/main/java/org/apache/carbondata/scan/filter/ ---
    @@ -1426,4 +1423,25 @@ private static void 
getUnknownExpressionsList(Expression expression,
           getUnknownExpressionsList(child, lst);
    +  /**
    +   * This method will compare double values it will preserve
    +   * the -0.0 and 0.0 equality as per == ,also preserve NaN equality check 
as per
    +   * java.lang.Double.equals()
    +   *
    +   * @param d1 double value for equality check
    +   * @param d2 double value for equality check
    +   * @return boolean after comparing two double values.
    +   */
    +  public static int compare(Double d1, Double d2) {
    --- End diff --
    Move this method to DataTypeUtil as it can be used from multiple places and 
change the method name to compareDouble

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

Reply via email to