Handle null dataStream in SliceDictionary reader
@@ -343,8 +343,10 @@ public class SliceDictionarySelectiveReader
if (inDictionaryStream != null) {
inDictionaryStream.skip(dataToSkip);
}
+ if (dataStream != null) {
dataStream.skip(dataToSkip);
}
+ }
else {
if (inDictionaryStream != null) {
inDictionaryStream.skip(items);
