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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)