You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@orc.apache.org by xndai <gi...@git.apache.org> on 2017/12/07 20:06:47 UTC

[GitHub] orc pull request #184: Orc 256 unmask range option

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

    https://github.com/apache/orc/pull/184#discussion_r154761512
  
    --- Diff: java/core/src/java/org/apache/orc/impl/mask/RedactMaskFactory.java ---
    @@ -245,8 +271,8 @@ public void maskData(ColumnVector original, ColumnVector masked, int start,
             target.isNull[0] = source.isNull[0];
           } else {
             for(int r = start; r < start + length; ++r) {
    -          target.vector[r] = maskLong(source.vector[r]) & mask;
    -          target.isNull[r] = source.isNull[r];
    +            target.vector[r] = maskLong(source.vector[r]) & mask;
    --- End diff --
    
    Remove leading space. Same as below.


---