Darshan Jani created BEAM-9825:
----------------------------------
Summary: Transforms for Intersect, Difference and Commons
Key: BEAM-9825
URL: https://issues.apache.org/jira/browse/BEAM-9825
Project: Beam
Issue Type: New Feature
Components: sdk-java-core
Reporter: Darshan Jani
I'd like to propose following new high-level transforms.
* Intersect
Compute the intersection between elements of two PCollection.
Given _leftCollection_ and _rightCollection_, this transform returns a
collection containing elements that common to both _leftCollection_ and
_rightCollection_
Compute the intersection of two elements of two PCollections.
* Difference
Compute the difference between elements of two PCollection.
Given _leftCollection_ and _rightCollection_, this transform returns a
collection containing elements that are in _leftCollection_ but not in
_rightCollection_
* Commons
Find the elements that are common to two PCollection, like the Unix
comm utility.
Given _leftCollection_ and rightCollection, this transform returns a
CommonsResults with following:
# elements only in _leftCollection_
# elements only in _rightCollection_
# elements in both collections
I would like to work on this changes and submit a PR.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)