[ 
https://issues.apache.org/jira/browse/FLINK-20567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

appleyuchi updated FLINK-20567:
-------------------------------
    Attachment: screenshot-1.png

> Document Error
> --------------
>
>                 Key: FLINK-20567
>                 URL: https://issues.apache.org/jira/browse/FLINK-20567
>             Project: Flink
>          Issue Type: Test
>            Reporter: appleyuchi
>            Priority: Major
>         Attachments: screenshot-1.png
>
>
> ||item||Content||
> |Document|[Link|https://ci.apache.org/projects/flink/flink-docs-release-1.12/dev/table/tableApi.html]|
> |part|Inner Join with Table Function (UDTF)|
> |origin|TableFunction<String> split = new MySplitUDTF();|
> |change to|TableFunction<Tuple3<String,String,String>> split = new 
> MySplitUDTF();|
> I have run the following the codes successfully 
> that contain all the contents from the above.
> ①[InnerJoinwithTableFunction.java|https://paste.ubuntu.com/p/MMXJPrfRWC]
> ②[MySplitUDTF.java|https://paste.ubuntu.com/p/Q6fDHxw4Td/]
> Reason:
> In this part, 
> it says:
> joinLateral(call("split", $("c")).as("s", "t", "v"))
> it means:
> the udtf has 1 input "c",
> and 3 outputs "s", "t", "v"
> So:
> these outputs should have 3 types.
> such as TableFunction<Tuple3<String,String,String>>
> instead of only 
> -TableFunction<String> split-



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to