GitHub user wuchong opened a pull request:

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

    [FLINK-3942] [tableAPI] Add support for INTERSECT

    Internally, I translate INTERSECT into a Join on all fields and then a 
distinct for removing duplicate records. 
    
    As Calcite SQL Parser doesn't support `INTERSECT ALL` , so I didn't add 
`intersectAll()` function to `Table`.
    
    I can add the corresponding documents if needed. 

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

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

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

    https://github.com/apache/flink/pull/2159.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 #2159
    
----
commit a666a3aabb01090eb3c6205b28e54a0dbb2e8a05
Author: Jark Wu <wuchong...@alibaba-inc.com>
Date:   2016-06-24T11:57:09Z

    [FLINK-3942] [tableAPI] Add support for INTERSECT

----


---
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