dianfu commented on a change in pull request #7196: [FLINK-10974] [table] Add 
support for flatMap to table API
URL: https://github.com/apache/flink/pull/7196#discussion_r239308474
 
 

 ##########
 File path: 
flink-libraries/flink-table/src/main/scala/org/apache/flink/table/expressions/call.scala
 ##########
 @@ -320,6 +320,18 @@ case class TableFunctionCall(
 
   override private[flink] def children: Seq[Expression] = parameters
 
+  def as(fields: Symbol*): TableFunctionCall = {
+    this.aliases = Some(fields.map(_.name))
+    this
+  }
+
+  def as(fields: String): TableFunctionCall = {
+    val fieldExprs = ExpressionParser
 
 Review comment:
   Make sense. Done.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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