[ https://issues.apache.org/jira/browse/FLINK-10379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16625929#comment-16625929 ]
ASF GitHub Bot commented on FLINK-10379: ---------------------------------------- pnowojski opened a new pull request #6744: [FLINK-10379][docs,table] Fix Table Function docs URL: https://github.com/apache/flink/pull/6744 This is a simple documentation fix for Java Table API. Old syntax of joining with Table Functions in Java Table API: ``` // Register the function. tableEnv.registerFunction("split", new Split("#")); myTable.join("split(a) as (word, length)"); ``` is no longer supported and this the reason why the documentation needed to be updated. Currently supported syntax is: ``` orders.join(new Table(tEnv, "split(a)"); ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Can not use Table Functions in Java Table API > --------------------------------------------- > > Key: FLINK-10379 > URL: https://issues.apache.org/jira/browse/FLINK-10379 > Project: Flink > Issue Type: Bug > Components: Table API & SQL > Affects Versions: 1.6.1 > Reporter: Piotr Nowojski > Assignee: Hequn Cheng > Priority: Critical > Labels: pull-request-available > > As stated in the > [documentation|[https://ci.apache.org/projects/flink/flink-docs-stable/dev/table/udfs.html#table-functions],] > this is how table functions should be used in Java Table API: > {code:java} > // Register the function. > tableEnv.registerFunction("split", new Split("#")); > myTable.join("split(a) as (word, length)"); > {code} > However {{Table.join(String)}} was removed sometime ago and now it is > impossible to use Table Functions in Java Table API. -- This message was sent by Atlassian JIRA (v7.6.3#76005)