Uploaded image for project: 'Crunch (Retired)'
  1. Crunch (Retired)
  2. CRUNCH-499

DoFns.detach(...) does not propogate context to wrapped DoFn

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.12.0
    • 0.12.0
    • Core
    • None

    Description

      When wrapping a DoFn in DoFns.detach(), the context does not get passed down to the enclosing DoFn when setContext is invoked, meaning counter incrementing and other features which rely on the context being available don't work as expected. This needs to be patched to make setContext change the context of both the wrapper and the delegate DoFn.

      Attachments

        Activity

          People

            jwills Josh Wills
            davw David Whiting
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: