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/18 04:01:00 UTC

[jira] [Updated] (FLINK-20567) Document Error in UDTF section

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

Jark Wu updated FLINK-20567:
----------------------------
    Summary: Document Error in UDTF section  (was: Document Error)

> Document Error in UDTF section
> ------------------------------
>
>                 Key: FLINK-20567
>                 URL: https://issues.apache.org/jira/browse/FLINK-20567
>             Project: Flink
>          Issue Type: Bug
>          Components: Documentation, Table SQL / Ecosystem
>            Reporter: appleyuchi
>            Assignee: 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)