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

Timo Walther closed FLINK-19140.
--------------------------------
    Fix Version/s: 1.11.3
                   1.12.0
       Resolution: Fixed

Fixed in 1.12.0: 9258fcb363db8be90add5557156644894928b1a4
Fixed in 1.11.3: 98160583d408cd06c792bb1981843a7f8f4b5a63

> Join with Table Function (UDTF) SQL example is incorrect
> --------------------------------------------------------
>
>                 Key: FLINK-19140
>                 URL: https://issues.apache.org/jira/browse/FLINK-19140
>             Project: Flink
>          Issue Type: Bug
>          Components: Documentation, Table SQL / API
>            Reporter: Benchao Li
>            Assignee: Benchao Li
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.12.0, 1.11.3
>
>
> Section "*Join with Table Function (UDTF)*" of 
> [https://ci.apache.org/projects/flink/flink-docs-master/dev/table/sql/queries.html]
>  currently is:
> {code:SQL}
> SELECT users, tag
> FROM Orders, LATERAL TABLE(unnest_udtf(tags)) t AS tag
> -- and 
> SELECT users, tag
> FROM Orders LEFT JOIN LATERAL TABLE(unnest_udtf(tags)) t AS tag ON TRUE
> {code}
>  
> however, it should be:
> {code:SQL}
> SELECT users, tag
> FROM Orders, LATERAL TABLE(unnest_udtf(tags)) AS t(tag)
> -- and 
> SELECT users, tag
> FROM Orders LEFT JOIN LATERAL TABLE(unnest_udtf(tags)) AS t(tag) ON TRUE
> {code}



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

Reply via email to