You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/09/20 10:32:00 UTC
[jira] [Updated] (FLINK-19140) Join with Table Function (UDTF) SQL
example is incorrect
[ https://issues.apache.org/jira/browse/FLINK-19140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated FLINK-19140:
-----------------------------------
Labels: pull-request-available (was: )
> 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
> Priority: Major
> Labels: pull-request-available
>
> 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)