orc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xndai <...@git.apache.org>
Subject [GitHub] orc pull request #184: Orc 256 unmask range option
Date Thu, 07 Dec 2017 20:06:47 GMT
Github user xndai commented on a diff in the pull request:

    https://github.com/apache/orc/pull/184#discussion_r154762146
  
    --- Diff: java/core/src/java/org/apache/orc/impl/mask/RedactMaskFactory.java ---
    @@ -619,7 +646,7 @@ public double maskDouble(double value) {
         } else if (posn < 0) {
           posn = -posn -2;
         }
    -    return DIGIT_REPLACEMENT * base * DOUBLE_POWER_10[posn];
    +    return unmaskRangeDoubleValue(value,DIGIT_REPLACEMENT * base * DOUBLE_POWER_10[posn]);
    --- End diff --
    
    Add space after comma.


---

Mime
View raw message