flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-10379) Can not use Table Functions in Java Table API
Date Wed, 26 Sep 2018 13:44:00 GMT

    [ https://issues.apache.org/jira/browse/FLINK-10379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16628798#comment-16628798
] 

ASF GitHub Bot commented on FLINK-10379:
----------------------------------------

fhueske commented on a change in pull request #6744: [FLINK-10379][docs,table] Fix Table Function
docs
URL: https://github.com/apache/flink/pull/6744#discussion_r220564566
 
 

 ##########
 File path: docs/dev/table/tableApi.md
 ##########
 @@ -767,8 +767,8 @@ val result: Table = table
         </td>
     </tr>
     <tr>
-    	<td>
-        <strong>TableFunction Left Outer Join</strong><br>
+      <td>
+        <strong>Left Outer Join with User Defined Table Functions (UDTF)</strong><br>
 
 Review comment:
   `User-Defined`

----------------------------------------------------------------
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:
users@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 &amp; 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)

Mime
View raw message