GitHub user yjshen opened a pull request:

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

    [FLINK-3941][TableAPI]Add support for UNION (with duplicate elimination)

    This PR aims at adding `UNION` support in TableAPI and SQL by:
    - Extending Table API with a new `union()` method
    - Relaxing `DataSetUnionRule` to enable union conversion
    - a `distinct` after `union` in flink execution plan to eliminate duplicate 
rows
    
    Note: Currently, I think `Union` do not has its counterpart in DataStream, 
therefore left unsupported. If it's not true, I'd like to adapt this PR.

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

    $ git pull https://github.com/yjshen/flink union

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

    https://github.com/apache/flink/pull/2025.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 #2025
    
----
commit fb8b61b5638f0b52f5857341c7acc95e8985b2d4
Author: Yijie Shen <henry.yijies...@gmail.com>
Date:   2016-05-24T04:46:21Z

    add union support

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to