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

    https://github.com/apache/carbondata/pull/1751#discussion_r162126330
  
    --- Diff: 
hadoop/src/test/java/org/apache/carbondata/hadoop/test/util/StoreCreator.java 
---
    @@ -520,7 +522,19 @@ public static String readCurrentTime() {
       }
     
       public static void main(String[] args) {
    -    StoreCreator.createCarbonStore();
    +
    +    SimpleDateFormat parser = null;
    +    parser = new SimpleDateFormat("yyyy-MM-dd");
    +    parser.setTimeZone(TimeZone.getTimeZone("IST"));
    +
    +    String v = "2011-11-11";
    +    try {
    +      long value = parser.parse(v).getTime() * 1000L;
    +      System.out.print(value);
    +    } catch (ParseException pe) {
    +
    +    }
    +    // StoreCreator.createCarbonStore();
    --- End diff --
    
    why this class i changed


---

Reply via email to