You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Luke Cwik (JIRA)" <ji...@apache.org> on 2016/08/31 21:14:20 UTC
[jira] [Created] (BEAM-611) Add support for MapValues
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)