wuchong commented on a change in pull request #11985: URL: https://github.com/apache/flink/pull/11985#discussion_r421915497
########## File path: flink-table/flink-table-planner-blink/src/main/scala/org/apache/flink/table/planner/plan/nodes/logical/FlinkLogicalTableSourceScan.scala ########## @@ -76,7 +73,7 @@ class FlinkLogicalTableSourceScan( override def explainTerms(pw: RelWriter): RelWriter = { super.explainTerms(pw) - .item("fields", tableSource.getTableSchema.getFieldNames.mkString(", ")) + .item("fields", getRowType.getFieldNames.mkString(", ")) } Review comment: We don't have `getTableSchema` method for `DynamicTableSource`. If we support projection push down, the `getRowType` should be the projected fields. ---------------------------------------------------------------- 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