Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-1285 Make execution mode configurable
  3. FLINK-864

Add description of mutable object iterators (GroupReduce, CoGroup) to documentation

    XMLWordPrintableJSON

Details

    Description

      Stratosphere uses value iterators with mutable objects.
      If this is not considered by an UDF, this silently leads to invalid results and hard to debug bugs.

      We had a lot of discussions about this. In the long run, we want to offer a safe default iterator which returns new objects with every call and a more efficient iterator with mutable object.

      Until then, we should add a warning to the Java Docs of `GroupReduceFunction` and `CoGroupFunction`.

      ---------------- Imported from GitHub ----------------
      Url: https://github.com/stratosphere/stratosphere/issues/864
      Created by: fhueske
      Labels: documentation, user satisfaction,
      Milestone: Release 0.5.1
      Created at: Mon May 26 10:33:28 CEST 2014
      State: open

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              github-import GitHub Import
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: