Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-2072

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0, 1.1.0
    • storm-core
    • None

    Description

      In STORM-1505 we introduced map, flatMap, filter to Trident which are more familiar than what Trident originally had (users had to use each and project to do the similar thing).

      Current version of map and flatMap assume next output fields are same to current output fields, in other words, supporting only T -> T conversion. But in many situations we need to have T -> V conversion.

      This issue adds T -> V conversion (via method overloading) to both map and flatMap.

      Attachments

        Issue Links

          Activity

            People

              kabhwan Jungtaek Lim
              kabhwan Jungtaek Lim
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h