Skip to content

PubSubIO.readAvros should produce a schema'd PCollection if clazz has a schema #19829

@damccorm

Description

@damccorm

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.

Imported from Jira BEAM-8330. Original Jira may contain additional context.
Reported by: bhulette.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions