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

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

Github user sunjincheng121 commented on a diff in the pull request:

    https://github.com/apache/flink/pull/3791#discussion_r113834406
  
    --- Diff: 
flink-libraries/flink-table/src/main/scala/org/apache/flink/table/api/java/StreamTableEnvironment.scala
 ---
    @@ -19,11 +19,12 @@ package org.apache.flink.table.api.java
     
     import org.apache.flink.api.common.typeinfo.TypeInformation
     import org.apache.flink.api.java.typeutils.TypeExtractor
    -import org.apache.flink.table.api._
    -import org.apache.flink.table.functions.TableFunction
    -import org.apache.flink.table.expressions.ExpressionParser
     import org.apache.flink.streaming.api.datastream.DataStream
     import 
org.apache.flink.streaming.api.environment.StreamExecutionEnvironment
    +import org.apache.flink.table.api._
    +import org.apache.flink.table.api.scala.TableFunctionConversions
    --- End diff --
    
    Please remove the useless import.


> Refactoring UDTF interface
> --------------------------
>
>                 Key: FLINK-6334
>                 URL: https://issues.apache.org/jira/browse/FLINK-6334
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table API & SQL
>            Reporter: Ruidong Li
>            Assignee: Ruidong Li
>
> The current UDTF leverages the table.join(expression) interface, which is not 
> a proper interface in terms of semantics. We would like to refactor this to 
> let UDTF use table.join(table) interface. Very briefly,  UDTF's apply method 
> will return a Table Type, so Join(UDTF('a, 'b, ...) as 'c) shall be viewed as 
> join(Table)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to