Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Tan-JiaLiang committed Jan 6, 2025
1 parent 25b18c8 commit 923daca
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,10 @@ private FileRecordReader<InternalRow> createFileReader(
deletion = ((BitmapDeletionVector) deletionVector).get();
}

if (deletion != null && selection != null) {
selection = RoaringBitmap32.andNot(selection, deletion);
if (selection != null) {
if (deletion != null) {
selection = RoaringBitmap32.andNot(selection, deletion);
}
if (selection.isEmpty()) {
return new EmptyFileRecordReader<>();
}
Expand Down

0 comments on commit 923daca

Please sign in to comment.