Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-2066

Accumulators should be able to early-terminate

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.11
    • None
    • None

    Description

      Accumulators are currently forced to process the whole bag; getValue() is called at the very end.

      Early termination is a handy feature to be able to use (for IsEmpty, for example).

      We can add this as a new interface extending Accumulator.

      Attachments

        1. PIG-2066-4.patch
          18 kB
          Jonathan Coveney
        2. PIG-2066-3.patch
          18 kB
          Jonathan Coveney
        3. PIG-2066-2.patch
          18 kB
          Jonathan Coveney
        4. PIG-2066-1.patch
          15 kB
          Jonathan Coveney
        5. PIG-2066-0.patch
          11 kB
          Jonathan Coveney

        Issue Links

          Activity

            People

              jcoveney Jonathan Coveney
              dvryaboy Dmitriy V. Ryaboy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: