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

    https://github.com/apache/carbondata/pull/1744#discussion_r159467557
  
    --- Diff: 
core/src/main/java/org/apache/carbondata/core/datastore/page/encoding/DefaultEncodingFactory.java
 ---
    @@ -216,8 +216,13 @@ private static DataType fitDelta(DataType dataType, 
Object max, Object min) {
         } else if (dataType == DataTypes.INT) {
           value = (long) (int) max - (long) (int) min;
    --- End diff --
    
    Even for all other datatypes has same problem right, I mean there is a 
chance of giving bigger datatype than original type.


---

Reply via email to