luoyuxia commented on code in PR #1934:
URL: https://github.com/apache/fluss/pull/1934#discussion_r2494053875
##########
fluss-flink/fluss-flink-common/src/main/java/org/apache/fluss/flink/source/FlinkTableSource.java:
##########
@@ -572,7 +576,11 @@ && hasPrimaryKey()
}
}
}
- return Result.of(acceptedFilters, remainingFilters);
+
+ // We cannot determine whether this source will ultimately be used
as a scan source or
+ // a lookup source. Since fluss lookup sources cannot accept
filters yet, to be safe, we
+ // return all filters to the Flink planner.
+ return Result.of(acceptedFilters, filters);
Review Comment:
Just wondering is there any way to avoid it. The source scan operator will
always evaluate the filters even though the filters are already pushdown.
Is it possible to limit such behavior on lookup source only?
--
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]