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/09 18:18:04 UTC

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

     [ https://issues.apache.org/jira/browse/BEAM-2166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Bradshaw resolved BEAM-2166.
-----------------------------------
    Resolution: Fixed

> 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: 2.0.0
>            Reporter: Robert Bradshaw
>            Assignee: Robert Bradshaw
>             Fix For: 2.0.0
>
>
> 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)