hequn8128 commented on a change in pull request #9907: 
[FLINK-14202][table][python] Optimize the execution plan for Python Calc when 
there is a condition
URL: https://github.com/apache/flink/pull/9907#discussion_r336816648
 
 

 ##########
 File path: 
flink-table/flink-table-planner-blink/src/main/scala/org/apache/flink/table/planner/plan/nodes/physical/batch/BatchExecPythonCalc.scala
 ##########
 @@ -53,17 +52,15 @@ class BatchExecPythonCalc(
   override protected def translateToPlanInternal(planner: BatchPlanner): 
Transformation[BaseRow] = {
     val inputTransform = getInputNodes.get(0).translateToPlan(planner)
       .asInstanceOf[Transformation[BaseRow]]
-    val config = planner.getTableConfig
-    val ctx = CodeGeneratorContext(config)
-    createOneInputTransformation(
+    val ret = createPythonOneInputTransformation(
       inputTransform,
-      inputsContainSingleton = false,
       calcProgram,
-      getRelDetailedDescription,
-      config,
-      ctx,
-      cluster,
-      getRowType,
-    "BatchExecCalc")
+      "BatchExecCalc")
 
 Review comment:
   BatchExecPythonCalc ?

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