beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kenneth Knowles (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (BEAM-1736) @DefaultCoder annotation should work with Create
Date Thu, 23 Mar 2017 04:39:41 GMT

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

Kenneth Knowles reassigned BEAM-1736:
-------------------------------------

    Assignee:     (was: Kenneth Knowles)

> @DefaultCoder annotation should work with Create
> ------------------------------------------------
>
>                 Key: BEAM-1736
>                 URL: https://issues.apache.org/jira/browse/BEAM-1736
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-core
>            Reporter: Kenneth Knowles
>
> From user@beam.apache.org:
> "My class is declared as follows:
> @DefaultCoder(SerializableCoder.class) public class Data<DataT extends BaseData>
implements Serializable {
> and it fails like this:
> Caused by: org.apache.beam.sdk.coders.CannotProvideCoderException: Cannot provide coder
based on value with class my.project.Data: No CoderFactory has been registered for the class."
> It seems like this should work, though Create's value-based coder inference has more
limitations and safety issues than usual coder inference. To investigate.



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

Mime
View raw message