Github user kumarvishal09 commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/2616#discussion_r208569907
  
    --- Diff: 
core/src/main/java/org/apache/carbondata/core/util/CarbonMetadataUtil.java ---
    @@ -368,7 +368,13 @@ private static int compareMeasureData(byte[] first, 
byte[] second, DataType data
           secondBuffer.put(second);
           firstBuffer.flip();
           secondBuffer.flip();
    -      return (int) (firstBuffer.getDouble() - secondBuffer.getDouble());
    +      long compare = firstBuffer.getLong() - secondBuffer.getLong();
    --- End diff --
    
    :)


---

Reply via email to