wuchong commented on a change in pull request #8302: [FLINK-12269][table-blink] 
Support Temporal Table Join in blink planner and runtime
URL: https://github.com/apache/flink/pull/8302#discussion_r279386668
 
 

 ##########
 File path: 
flink-table/flink-table-planner-blink/src/main/scala/org/apache/flink/table/codegen/CalcCodeGenerator.scala
 ##########
 @@ -69,6 +71,42 @@ object CalcCodeGenerator {
     new OneInputOperatorWrapper(genOperator)
   }
 
+  private[flink] def generateFunction[T <: Function](
 
 Review comment:
   Because it actually generate code for a `CalcProgram`, it needs to access 
the private method `generateProcessCode` in this file. And 
`FunctionCodeGenerator` only accepts code body as  parameter, not the 
`CalcProgram.
   
   What do you think about renaming the method name to `generateCalcFunction` 
to align with `generateCalcOperator` ?

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to