You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Darshan Jani (Jira)" <ji...@apache.org> on 2020/04/27 07:28:00 UTC
[jira] [Updated] (BEAM-9825) Transforms for Intersect, Difference
and Commons
[ https://issues.apache.org/jira/browse/BEAM-9825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Darshan Jani updated BEAM-9825:
-------------------------------
Description:
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_
* 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 commons to two PCollection, similar 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.
was:
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.
> 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
> Priority: Major
> Original Estimate: 96h
> Remaining Estimate: 96h
>
> 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_
>
> * 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 commons to two PCollection, similar 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)