flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fhueske <...@git.apache.org>
Subject [GitHub] flink pull request #2159: [FLINK-3942] [tableAPI] Add support for INTERSECT
Date Wed, 29 Jun 2016 22:20:42 GMT
Github user fhueske commented on a diff in the pull request:

    https://github.com/apache/flink/pull/2159#discussion_r69039071
  
    --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/table.scala
---
    @@ -446,9 +446,9 @@ class Table(
       }
     
       /**
    -    * Intersect two [[Table]]s with duplicate records removed. Intersect returns rows
only
    -    * from the left table that are identical to a row in the right table.
    -    * Similar to an SQL INTERSECT. The fields of the two union operations must fully
overlap.
    +    * Intersect two [[Table]]s with duplicate records removed. Intersect returns records
that
    +    * exist in both tables, and emit exactly once. Similar to an SQL INTERSECT. The fields
of
    --- End diff --
    
    I would rephrase this to "Intersect returns records that exist in both tables. If a record
is present one or both tables more than once, it is returned just once, i.e., the resulting
table has no duplicate records."


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message