[GitHub] [carbondata] zzcclp commented on a change in pull request #3258: [HOTFIX] fix none defaultValue for dateFormat and timestampFormat

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] [carbondata] zzcclp commented on a change in pull request #3258: [HOTFIX] fix none defaultValue for dateFormat and timestampFormat

GitBox
zzcclp commented on a change in pull request #3258: [HOTFIX] fix none defaultValue for dateFormat and timestampFormat
URL: https://github.com/apache/carbondata/pull/3258#discussion_r291093821
 
 

 ##########
 File path: core/src/main/java/org/apache/carbondata/core/constants/CarbonLoadOptionConstants.java
 ##########
 @@ -62,7 +62,7 @@
   public static final String CARBON_OPTIONS_DATEFORMAT =
       "carbon.options.date.format";
 
-  public static final String CARBON_OPTIONS_DATEFORMAT_DEFAULT = "";
+  public static final String CARBON_OPTIONS_DATEFORMAT_DEFAULT = "yyyy-MM-dd";
 
 Review comment:
   It's better use CarbonCommonConstants.CARBON_DATE_DEFAULT_FORMAT as default value.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[hidden email]


With regards,
Apache Git Services