You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jark Wu (Jira)" <ji...@apache.org> on 2020/12/10 16:39:00 UTC
[jira] [Commented] (FLINK-20567) Document Error
[ https://issues.apache.org/jira/browse/FLINK-20567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17247355#comment-17247355 ]
Jark Wu commented on FLINK-20567:
---------------------------------
Do you want to fix this? [~appleyuchi]
> Document Error
> --------------
>
> Key: FLINK-20567
> URL: https://issues.apache.org/jira/browse/FLINK-20567
> Project: Flink
> Issue Type: Bug
> Components: Documentation, Table SQL / Ecosystem
> 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-
> !screenshot-1.png!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)