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-2951) Add Union operator to Table API.
Date Mon, 02 Nov 2015 08:07:27 GMT

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

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

GitHub user ChengXiangLi opened a pull request:

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

    [FLINK-2951] [Table API] add union operator to Table API.

    Currently, union operation is supported by DataSet/DataStream API, not available in Table
API. To union two tables, user has to transform the parameter input to DataSet/DataStream,
for example:
    `val unionDs = left.union(right.toDataSet[Row])`
    It should be more API friendly to user if add union operation to Table API, like:
    `val unionDs = left.union(right)`

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

    $ git pull https://github.com/ChengXiangLi/flink unionForTableAPI

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

    https://github.com/apache/flink/pull/1315.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 #1315
    
----
commit 644224dab2d2dcebf12a3a7c2ba9b05370369b66
Author: chengxiang li <chengxiang.li@intel.com>
Date:   2015-11-02T08:03:55Z

    [FLINK-2951] [Table API] add union operator to Table API.

----


> Add Union operator to Table API.
> --------------------------------
>
>                 Key: FLINK-2951
>                 URL: https://issues.apache.org/jira/browse/FLINK-2951
>             Project: Flink
>          Issue Type: New Feature
>          Components: Documentation, Table API
>            Reporter: Chengxiang Li
>            Assignee: Chengxiang Li
>            Priority: Minor
>
> Currently, union operation is supported by DataSet/DataStream API, not available in Table
API. To union two tables, user has to transform the parameter input to DataSet/DataStream,
for example:
> {code:java}
> val unionDs = left.union(right.toDataSet[Row])
> {code}
> It should be more API friendly to user if add union operation to Table API, like:
> {code:java}
> val unionDs = left.union(right)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message