You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Brian Hulette (Jira)" <ji...@apache.org> on 2020/04/23 15:03:00 UTC

[jira] [Assigned] (BEAM-8330) PubSubIO.readAvros should produce a schema'd PCollection if clazz has a schema

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

Brian Hulette reassigned BEAM-8330:
-----------------------------------

    Assignee:     (was: Brian Hulette)

> PubSubIO.readAvros should produce a schema'd PCollection if clazz has a schema
> ------------------------------------------------------------------------------
>
>                 Key: BEAM-8330
>                 URL: https://issues.apache.org/jira/browse/BEAM-8330
>             Project: Beam
>          Issue Type: Improvement
>          Components: io-java-gcp
>            Reporter: Brian Hulette
>            Priority: Major
>
> Currently {{PubsubIO.readAvros(clazz)}} *always* yields a PCollection with an AvroCoder. This should only be a fallback in the event that no coder can be inferred. That way if we can infer a schema for `clazz` we will produce a PCollection with a schema.



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