plusplusjiajia commented on code in PR #8447:
URL: https://github.com/apache/paimon/pull/8447#discussion_r3520091253


##########
paimon-core/src/main/java/org/apache/paimon/table/source/snapshot/SnapshotReaderImpl.java:
##########
@@ -237,7 +237,7 @@ public SnapshotReader withFilter(Predicate predicate) {
                 splitPartitionPredicatesAndDataPredicates(
                         predicate, tableSchema.logicalRowType(), 
tableSchema.partitionKeys());
         if (pair.getLeft().isPresent()) {
-            scan.withPartitionFilter(pair.getLeft().get());
+            scan.withPartitionFilterAnd(pair.getLeft().get());

Review Comment:
   @JingsongLi Agree. withPartitionFilterAnd is no longer needed for this PR 
now that authPartitionFilter is separate. I'll revert that part and keep the 
existing withPartitionFilter(...) behavior for normal query filters.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to