You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Pablo Estrada (Jira)" <ji...@apache.org> on 2021/05/04 20:49:00 UTC

[jira] [Updated] (BEAM-1891) Java @Autovalue: currently doesn't have a good coder

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

Pablo Estrada updated BEAM-1891:
--------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Open)

This is fixed by tagging with `@DefaultSchema(AutoValueSchema.class)`

> Java @Autovalue: currently doesn't have a good coder
> ----------------------------------------------------
>
>                 Key: BEAM-1891
>                 URL: https://issues.apache.org/jira/browse/BEAM-1891
>             Project: Beam
>          Issue Type: Improvement
>          Components: extensions-ideas, sdk-java-core
>            Reporter: Stephen Sisk
>            Priority: P3
>              Labels: Clarified, newbie, starter
>
> In Java, @AutoValue classes are something that we would like developers to be able to use in PCollections in Beam.
> However, there doesn't appear to be a good existing Beam Coder for Autovalue generated classes:
> * Avrocoder doesn't work
> * Serializable Coder works, but has other problems (larger/less efficient)
> This is discussed fully at https://lists.apache.org/thread.html/29617096819824d5c12247a246d316b763d9e583a21fff2f1c430077@%3Cdev.beam.apache.org%3E 
> We may need to implement an AutoValueCoder.
> cc [~pabloem] [~bchambers]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)