Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-2166

Remove Coder.Context from the public API

Details

    • Improvement
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • sdk-java-core, sdk-py-core

    Description

      Justification:

      • Contexts add confusion and complexity to the public API (e.g. https://issues.apache.org/jira/browse/BEAM-1448)
      • Leaf (user-written) coders are nearly always nested.
      • Coders are being removed from sources, which was the initial need for context.
      • It is unclear how much value, if any, this provides for internal performance.
      • There may be performance (as well as simplification) gains in removing this for the Fn API.

      Fully removing this distinction from the internals can be defered until the last bullet points are more completely investigated.

      Attachments

        Issue Links

          Activity

            People

              robertwb Robert Bradshaw
              robertwb Robert Bradshaw
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: