beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luke Cwik (JIRA)" <>
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
             Project: Beam
          Issue Type: Improvement
          Components: sdk-ideas
            Reporter: Luke Cwik
            Priority: Minor

Filed from:

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:

This message was sent by Atlassian JIRA

View raw message