[ 
https://issues.apache.org/jira/browse/BEAM-1736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17132021#comment-17132021
 ] 

Beam JIRA Bot commented on BEAM-1736:
-------------------------------------

This issue is P2 but has been unassigned without any comment for 60 days so it 
has been labeled "stale-P2". If this issue is still affecting you, we care! 
Please comment and remove the label. Otherwise, in 14 days the issue will be 
moved to P3.

Please see https://beam.apache.org/contribute/jira-priorities/ for a detailed 
explanation of what these priorities mean.


> @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
>            Priority: P2
>              Labels: stale-P2
>
> From u...@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
(v8.3.4#803005)

Reply via email to