GitHub user arunmahadevan opened a pull request:
https://github.com/apache/storm/pull/1050
[STORM-1505] Add map and flatMap functions in trident stream
`map` and `flatmap` are common stream operations.
Right now in trident this has to be implemented via each() which also sends
the input field values
in addition to the mapped field values, so the map and flatmap should make
things slightly
more efficient and easy.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/arunmahadevan/storm STORM-1505
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/storm/pull/1050.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1050
----
commit 1832c369735576df61c6533ff772814b537e5d68
Author: Arun Mahadevan <[email protected]>
Date: 2016-01-27T07:02:33Z
[STORM-1505] Add map and flatMap functions in trident stream
map and flatmap are common stream operations. Right now in trident this has
to be
implemented via each() which also sends the input field values
in addition to the mapped field values, so the map and flatmap should make
things slightly
more efficient and easy.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---