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.
---