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

    https://github.com/apache/carbondata/pull/2687#discussion_r216123287
  
    --- Diff: 
store/sdk/src/main/java/org/apache/carbondata/sdk/file/AvroCarbonWriter.java ---
    @@ -621,6 +660,11 @@ private static StructField prepareSubFields(String 
fieldName, Schema childSchema
               int precision = ((LogicalTypes.Decimal) 
childSchema.getLogicalType()).getPrecision();
               int scale = ((LogicalTypes.Decimal) 
childSchema.getLogicalType()).getScale();
               return new StructField(fieldName, 
DataTypes.createDecimalType(precision, scale));
    +        } else if (logicalType == null && 
childSchema.getObjectProp("logicalType")
    --- End diff --
    
    Consider the previous comment in this case also.


---

Reply via email to