hequn8128 commented on a change in pull request #9748: 
[FLINK-14016][python][flink-table-planner] Introduce DataStreamPythonCalc for 
Python function execution
URL: https://github.com/apache/flink/pull/9748#discussion_r327943426
 
 

 ##########
 File path: 
flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/plan/StreamOptimizer.scala
 ##########
 @@ -64,8 +64,8 @@ class StreamOptimizer(
       RelTimeIndicatorConverter.convert(decorPlan, relBuilder.getRexBuilder)
     val normalizedPlan = 
optimizeNormalizeLogicalPlan(planWithMaterializedTimeAttributes)
     val logicalPlan = optimizeLogicalPlan(normalizedPlan)
-
-    val physicalPlan = optimizePhysicalPlan(logicalPlan, 
FlinkConventions.DATASTREAM)
+    val pythonizedLogicalPlan = optimizePythonLogicalPlan(logicalPlan)
 
 Review comment:
   Maybe name it optimizeLogicalRewritePlan? Same for other places.

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