walterddr 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_r323980865
 
 

 ##########
 File path: 
flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/plan/nodes/PhysicalTableSourceScan.scala
 ##########
 @@ -47,9 +47,25 @@ abstract class PhysicalTableSourceScan(
     val terms = super.explainTerms(pw)
         .item("fields", deriveRowType().getFieldNames.asScala.mkString(", "))
 
+    val auxiliarySourceDesc = tableSource match {
+      case fts: FilterableTableSource[_] =>
+        s"FilterPushDown=${fts.isFilterPushedDown.toString}"
+      case pts: ProjectableTableSource[_] =>
+        // TODO: add isTableProjected, or getProjectedFieldIndices API to 
explain pushdown.
 
 Review comment:
   there's no way to determine currently for `ProjectableTableSource`. I will 
create a follow up ticket for this once the solution is accepted. 

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to