JingsongLi commented on a change in pull request #11034: [FLINK-15802][table] 
Support new type inference for table functions
URL: https://github.com/apache/flink/pull/11034#discussion_r376223974
 
 

 ##########
 File path: 
flink-table/flink-table-planner-blink/src/main/scala/org/apache/flink/table/planner/codegen/calls/TableFunctionCallGen.scala
 ##########
 @@ -49,7 +71,7 @@ class TableFunctionCallGen(tableFunction: TableFunction[_]) 
extends CallGenerato
 
     // has no result
     GeneratedExpression(
-      functionReference,
+      resultCollectorTerm,
 
 Review comment:
   A `resultCollectorTerm` instead of `functionReference` seems complicated. 
Can you add comments into `TableFunctionCallGen` to explain this.

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