You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/08/14 06:59:01 UTC

[jira] [Commented] (FLINK-7439) Support variable arguments for UDTF in SQL

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

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

GitHub user wuchong opened a pull request:

    https://github.com/apache/flink/pull/4536

    [FLINK-7439] [table] Support variable arguments for UDTF in SQL

    ## What is the purpose of the change
    
    Support variable arguments for UDTF in SQL
    
    ## Brief change log
    
    - `TableSqlFunction`'s operand type inference and checker
    - modify `ScalarFunctionCallGen` and `TableFunctionCallGen` which handles var args incorrectly.
    
    ## Verifying this change
    
    This change added tests and can be verified as follows:
    
    - *Added `CorrelateTest.scala` for batch and stream queries to verify logical plan*
    
    The integration test can be covered by existing `CorrelateITCase`.
    
    ## Does this pull request potentially affect one of the following parts:
    
      - Dependencies (does it add or upgrade a dependency): no
      - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: no
      - The serializers: no
      - The runtime per-record code paths (performance sensitive): no
      - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: no
    
    ## Documentation
    
      - Does this pull request introduce a new feature? no
      - If yes, how is the feature documented? na
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/wuchong/flink udtf

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/4536.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #4536
    
----
commit b18ce206ad69e0abf72f5388538bb65e4911c65a
Author: Jark Wu <ja...@apache.org>
Date:   2017-08-14T06:18:52Z

    [FLINK-7439] [table] Support variable arguments for UDTF in SQL

----


> Support variable arguments for UDTF in SQL
> ------------------------------------------
>
>                 Key: FLINK-7439
>                 URL: https://issues.apache.org/jira/browse/FLINK-7439
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table API & SQL
>            Reporter: Jark Wu
>            Assignee: Jark Wu
>
> Currently, both UDF and UDAF support variable parameters, but UDTF not. 
> FLINK-5882 supports variable UDTF for Table API only, but missed SQL.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)