Github user fhueske commented on a diff in the pull request: https://github.com/apache/flink/pull/2169#discussion_r69044780 --- Diff: docs/apis/table.md --- @@ -536,6 +536,29 @@ Table result = left.unionAll(right); </tr> <tr> + <td><strong>Minus</strong></td> + <td> + <p>Similar to a SQL EXCEPT clause. Returns elements from the first table that do not exist in the second table. Both tables must have identical schema, i.e., field names and types.</p> +{% highlight java %} +Table left = tableEnv.fromDataSet(ds1, "a, b, c"); +Table right = tableEnv.fromDataSet(ds2, "a, b, c"); +Table result = left.minus(right); +{% endhighlight %} + </td> + </tr> + + <tr> + <td><strong>MinusAll</strong></td> + <td> + <p>Similar to a SQL EXCEPT ALL clause. Returns elements from the first table that do not exist in the second table without removing duplicates. Both tables must have identical schema, i.e., field names and types.</p> --- End diff -- Please rephrase to "Except All returns the records that do not exist in the second table. A record that is present n times in the first table and m times in the second table is returned (n - m) times, i.e., as many duplicates as are present in the second table are removed.".
--- 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. ---