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

 ##########
 File path: 
flink-libraries/flink-table/src/main/scala/org/apache/flink/table/api/table.scala
 ##########
 @@ -79,7 +80,8 @@ class Table(
     * @param udtfCall A String expression of the TableFunction call.
     */
   def this(tableEnv: TableEnvironment, udtfCall: String) {
-    this(tableEnv, 
UserDefinedFunctionUtils.createLogicalFunctionCall(tableEnv, udtfCall))
+    this(tableEnv, UserDefinedFunctionUtils.createLogicalFunctionCall(
+      tableEnv, ExpressionParser.parseExpression(udtfCall)))
 
 Review comment:
   Format code as follows: ?
   ```
       this(
         tableEnv, 
         UserDefinedFunctionUtils.createLogicalFunctionCall(
           tableEnv, 
           ExpressionParser.parseExpression(udtfCall)
         )
       )
   ```

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