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

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

Denys Fakhritdinov created FLINK-11119:
------------------------------------------

             Summary: 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.7.0, 1.6.2
            Reporter: Denys Fakhritdinov


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)