carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ravipesala <...@git.apache.org>
Subject [GitHub] carbondata pull request #1335: [CARBONDATA-1452] Issue with loading timestam...
Date Mon, 11 Sep 2017 08:32:06 GMT
Github user ravipesala commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1335#discussion_r138007579
  
    --- Diff: core/src/main/java/org/apache/carbondata/core/keygenerator/directdictionary/timestamp/TimeStampDirectDictionaryGenerator.java
---
    @@ -188,11 +188,7 @@ private int getDirectSurrogateForMember(String memberStr) {
           return null;
         }
         long timeStamp = 0;
    -    if (cutOffTimeStamp >= 0) {
    -      timeStamp = ((key - 2) * granularityFactor + cutOffTimeStamp);
    -    } else {
    -      timeStamp = (key - 2) * granularityFactor;
    -    }
    +    timeStamp = ((key - 2) * granularityFactor + cutOffTimeStamp);
    --- End diff --
    
    Keep line 190 and 191 in single line


---

Mime
View raw message