Rose Nguyen created BEAM-7023:
---------------------------------

             Summary: WithKeys transform for Python SDK
                 Key: BEAM-7023
                 URL: https://issues.apache.org/jira/browse/BEAM-7023
             Project: Beam
          Issue Type: New Feature
          Components: sdk-py-core
            Reporter: Rose Nguyen
            Assignee: Ahmet Altay


WithKeys<K, V> PCollection<V> and either a constant key of type K or a function 
from V to K, and returns a PCollection<KV<K, V>>, where each of the values in 
the input PCollection has been paired with either the constant key or a key 
computed from the value.

It should offer the same API as its Java counterpart: 

[https://github.com/apache/beam/blob/11a977b8b26eff2274d706541127c19dc93131a2/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/WithKeys.java]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to