Fix the size of all-null blocks returned from Boolean reader
@@ -334,7 +334,7 @@ public class BooleanSelectiveStreamReader
checkState(!valuesInUse, "BlockLease hasn't been closed yet");
if (allNulls) {
- return new RunLengthEncodedBlock(NULL_BLOCK, outputPositionCount);
+ return new RunLengthEncodedBlock(NULL_BLOCK, positionCount);
}
boolean includeNulls = nullsAllowed && presentStream != null;
