Luke Cwik created BEAM-611:
------------------------------

             Summary: Add support for MapValues
                 Key: BEAM-611
                 URL: https://issues.apache.org/jira/browse/BEAM-611
             Project: Beam
          Issue Type: Improvement
          Components: sdk-ideas
            Reporter: Luke Cwik
            Priority: Minor


Filed from: https://github.com/GoogleCloudPlatform/DataflowJavaSDK/issues/412

Often I find myself needing to simply map a function over just the values of a 
key-valued PCollection. MapElements works for this, but suffers a small hit in 
readability (imho) and introduces some possibility for error.

I wanted to see if there is any bandwidth / interest in adding this as a 
standard transform to the SDK. If so, I have attached a gist with a basic spike 
I have been using in my flows:

https://gist.github.com/trentonstrong/8b60933dca545eb2138b72899195019e



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to