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

    https://github.com/apache/incubator-carbondata/pull/551#discussion_r96883596
  
    --- Diff: 
core/src/main/java/org/apache/carbondata/core/cache/dictionary/ColumnDictionaryInfo.java
 ---
    @@ -285,9 +285,17 @@ private int compareFilterKeyWithDictionaryKey(String 
dictionaryVal, String membe
                   .compare((Boolean.parseBoolean(dictionaryVal)), 
(Boolean.parseBoolean(memberVal)));
             case DATE:
             case TIMESTAMP:
    -          SimpleDateFormat parser = new 
SimpleDateFormat(CarbonProperties.getInstance()
    -              .getProperty(CarbonCommonConstants.CARBON_TIMESTAMP_FORMAT,
    -                  CarbonCommonConstants.CARBON_TIMESTAMP_DEFAULT_FORMAT));
    +          String format= null;
    +          if(dataType==DataType.DATE) {
    --- End diff --
    
    why if else is required? please keep in the DATE case.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to