hequn8128 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_r272877780
########## File path: docs/dev/table/tableApi.md ########## @@ -1847,6 +1847,22 @@ Table table = input </td> </tr> + <tr> + <td> + <strong>FlatMap</strong><br> + <span class="label label-primary">Batch</span> <span class="label label-primary">Streaming</span> + </td> + <td> + <p>Performs a flatMap operation with a table function.</p> +{% highlight java %} +TableFunction func = new MyFlatMapFunction(); +tableEnv.registerFunction("func", func); + +Table table = input + .flatMap(func("c")) Review comment: .flatMap("func(c)"). Same for the map function. ---------------------------------------------------------------- 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