Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xuyu committed Nov 7, 2024
1 parent 3f1b0d1 commit cb36eb2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -239,12 +239,7 @@ public InnerTableRead withFilter(Predicate predicate) {
schemaIds.add((Long) ((LeafPredicate) p).literals().get(0));
}
},
(Predicate p) -> {
if (schemaIds != null) {
schemaIds.clear();
schemaIds = null;
}
});
(Predicate p) -> schemaIds = null);
}
} else {
handleLeafPredicate(predicate, leafName);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,12 +242,7 @@ public InnerTableRead withFilter(Predicate predicate) {
snapshotIds.add((Long) ((LeafPredicate) p).literals().get(0));
}
},
(Predicate p) -> {
if (snapshotIds != null) {
snapshotIds.clear();
snapshotIds = null;
}
});
(Predicate p) -> snapshotIds = null);
}
} else {
handleLeafPredicate(predicate, leafName);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -250,12 +250,7 @@ public RecordReader<InternalRow> createReader(Split split) {
predicateMap.put(equalValue, tagManager.tag(equalValue));
}
},
(Predicate p) -> {
if (predicateMap != null) {
predicateMap.clear();
predicateMap = null;
}
});
(Predicate p) -> predicateMap = null);
}
}
}
Expand Down

0 comments on commit cb36eb2

Please sign in to comment.