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

    https://github.com/apache/carbondata/pull/2966#discussion_r241433863
  
    --- Diff: 
core/src/main/java/org/apache/carbondata/core/util/DataTypeUtil.java ---
    @@ -61,7 +61,35 @@
         }
       };
     
    -  private static final ThreadLocal<DateFormat> dateformatter = new 
ThreadLocal<DateFormat>() {
    +  private static ThreadLocal<String> timeStampformatterString = new 
ThreadLocal<String>() {
    +    @Override protected String initialValue() {
    +      return CarbonProperties.getInstance()
    +          .getProperty(CarbonCommonConstants.CARBON_TIMESTAMP_FORMAT,
    +              CarbonCommonConstants.CARBON_TIMESTAMP_DEFAULT_FORMAT);
    +    }
    +  };
    +
    +  private static void updateTimeStamp() {
    --- End diff --
    
    Can you describe why these changes related to this PR?


---

Reply via email to