Au-Miner commented on code in PR #28681:
URL: https://github.com/apache/flink/pull/28681#discussion_r3557776526


##########
flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/planner/plan/utils/RelTreeWriterImpl.scala:
##########
@@ -23,14 +23,17 @@ import 
org.apache.flink.table.planner.plan.metadata.FlinkRelMetadataQuery
 import org.apache.flink.table.planner.plan.nodes.physical.FlinkPhysicalRel
 import org.apache.flink.table.planner.plan.nodes.physical.stream._
 
+import org.apache.calcite.plan.RelOptUtil

Review Comment:
   Replaced with `visitSubQuery`, now there is no manual `containsSubQuery`, 
avoiding this unnecessary overhead



-- 
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]

Reply via email to