You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "vinoyang (JIRA)" <ji...@apache.org> on 2018/12/10 09:53:00 UTC

[jira] [Assigned] (FLINK-11119) Incorrect Scala example for Table Function

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

vinoyang reassigned FLINK-11119:
--------------------------------

    Assignee: vinoyang

> Incorrect Scala example for Table Function
> ------------------------------------------
>
>                 Key: FLINK-11119
>                 URL: https://issues.apache.org/jira/browse/FLINK-11119
>             Project: Flink
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 1.6.2, 1.7.0
>            Reporter: Denys Fakhritdinov
>            Assignee: vinoyang
>            Priority: Major
>
> Issue in Scala example in documentation: [https://ci.apache.org/projects/flink/flink-docs-release-1.7/dev/table/udfs.html#table-functions]
> Currently it is:
> {code:java}
> tableEnv.sqlQuery("SELECT a, word, length FROM MyTable LEFT JOIN TABLE(split(a)) as T(word, length) ON TRUE")
> {code}
> Should be (like in Java version):
> {code:java}
> tableEnv.sqlQuery("SELECT a, word, length FROM MyTable LEFT JOIN LATERAL TABLE(split(a)) as T(word, length) ON TRUE")
> {code}
> * LATERAL is missed in Scala version



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)