Skip to content
This repository has been archived by the owner on Nov 11, 2022. It is now read-only.

Idea: MapValues transform #412

Closed
trentonstrong opened this issue Aug 31, 2016 · 1 comment
Closed

Idea: MapValues transform #412

trentonstrong opened this issue Aug 31, 2016 · 1 comment

Comments

@trentonstrong
Copy link

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:

MapValues

Thanks.

@lukecwik
Copy link
Contributor

Most active development for Google Cloud Dataflow has been happening on Apache Beam with backports going here.

I have filed your idea for discussion here:
https://issues.apache.org/jira/browse/BEAM-611

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants