You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Robert Bradshaw (JIRA)" <ji...@apache.org> on 2017/05/04 00:16:04 UTC

[jira] [Created] (BEAM-2166) Remove Coder.Context from the public API

Robert Bradshaw created BEAM-2166:
-------------------------------------

             Summary: Remove Coder.Context from the public API
                 Key: BEAM-2166
                 URL: https://issues.apache.org/jira/browse/BEAM-2166
             Project: Beam
          Issue Type: Improvement
          Components: sdk-java-core, sdk-py
    Affects Versions: First stable release
            Reporter: Robert Bradshaw
            Assignee: Davor Bonaci


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. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)