GitHub user HeartSaVioR opened a pull request:

    https://github.com/apache/storm/pull/1663

    STORM-2072 Add map, flatMap with different outputs (T->V) in Trident

    * Introduce overloading methods of map and flatMap
      * Now users can specify new output fields which replace origin fields
    * Introduce OperationMapFunction and OperationFlatMapFunction
      * which also extends Operation
      * Trident will automatically determine this and handle properly
    
    Also updated example code and docs page.
    
    This change is needed for optimizing Storm SQL on Trident mode to have 
minimized steps.
    I'll work on optimization on top of this and submit that as well. 

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/HeartSaVioR/storm STORM-2072

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/storm/pull/1663.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 #1663
    
----
commit 07c5cef073c4dc58770c8ccf19cb7a0b8d6ca333
Author: Jungtaek Lim <[email protected]>
Date:   2016-08-31T04:16:46Z

    STORM-2072 Add map, flatMap with different outputs (T->V) in Trident
    
    * Introduce overloading methods of map and flatMap
      * Now users can specify new output fields which replace origin fields
    * Introduce OperationMapFunction and OperationFlatMapFunction
      * which also extends Operation
      * Trident will automatically determine this and handle properly

----


---
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.
---

Reply via email to