You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/03 17:25:57 UTC

[GitHub] [beam] kennknowles opened a new issue, #18348: @DefaultCoder annotation should work with Create

kennknowles opened a new issue, #18348:
URL: https://github.com/apache/beam/issues/18348

   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.
   
   Imported from Jira [BEAM-1736](https://issues.apache.org/jira/browse/BEAM-1736). Original Jira may contain additional context.
   Reported by: kenn.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org