[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (FLINK-10974) Add FlatMap to TableAPI

sunjincheng created FLINK-10974:

             Summary: Add FlatMap to TableAPI
                 Key: FLINK-10974
                 URL: https://issues.apache.org/jira/browse/FLINK-10974
             Project: Flink
          Issue Type: Sub-task
          Components: Table API & SQL
            Reporter: sunjincheng
             Fix For: 1.8.0

Add FlatMap operator to Table API as described in [Google doc|https://docs.google.com/document/d/1tnpxg31EQz2-MEzSotwFzqatsB4rNLz0I-l_vPa5H4Q/edit#heading=h.q23rny2iglsr].

The usage:
val res = tab
   .flatMap(fun: TableFunction)  // output has columns 'a, 'b, 'c
   .select('a, 'c)

This message was sent by Atlassian JIRA