KurtYoung commented on a change in pull request #8468:
[FLINK-12399][table][table-planner] Fix FilterableTableSource does not change
after applyPredicate
URL: https://github.com/apache/flink/pull/8468#discussion_r333526838
##########
File path:
flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/plan/rules/logical/PushProjectIntoTableSourceScanRule.scala
##########
@@ -50,16 +50,23 @@ class PushProjectIntoTableSourceScanRule extends
RelOptRule(
if (!(0 until
scan.getRowType.getFieldCount).toArray.sameElements(accessedLogicalFields)) {
// try to push projection of physical fields to TableSource
- val newTableSource = source match {
+ val (newTableSource, isProjectSuccess) = source match {
Review comment:
Could you also add this to the same rule in blink-planner?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services