You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kenneth Knowles (Jira)" <ji...@apache.org> on 2019/10/02 17:02:00 UTC

[jira] [Updated] (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 ]

Kenneth Knowles updated BEAM-8330:
----------------------------------
    Status: Open  (was: Triage Needed)

> 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
>            Assignee: Brian Hulette
>            Priority: Major
>             Fix For: 2.17.0
>
>
> 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)