beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luke Cwik (JIRA)" <j...@apache.org>
Subject [jira] [Created] (BEAM-611) Add support for MapValues
Date Wed, 31 Aug 2016 21:14:20 GMT
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)

Mime
View raw message