luoyuxia opened a new issue, #2571: URL: https://github.com/apache/fluss/issues/2571
### Search before asking - [x] I searched in the [issues](https://github.com/apache/fluss/issues) and found nothing similar. ### Description ``` public Result applyFilters(List<ResolvedExpression> filters) { List<ResolvedExpression> acceptedFilters = new ArrayList<>(); List<ResolvedExpression> remainingFilters = new ArrayList<>(); // primary pushdown // (1) batch execution mode, // (2) default (full) startup mode, // (3) the table is a pk table, // (4) all filters are pk field equal expression if (!streaming && startupOptions.startupMode == FlinkConnectorOptions.ScanStartupMode.FULL && hasPrimaryKey() && **filters.size() == primaryKeyIndexes.length**) { ``` The `filters.size() == primaryKeyIndexes.length` is wrong which will cause some filter push down fall into the pk lookup code branch, then resuting wrong result. ### Willingness to contribute - [ ] I'm willing to submit a PR! -- 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]
