[
https://issues.apache.org/jira/browse/BEAM-7802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ismaël Mejía resolved BEAM-7802.
--------------------------------
Resolution: Fixed
Fix Version/s: 2.16.0
> Expose a method to make an Schema coder from an Avro coder
> ----------------------------------------------------------
>
> Key: BEAM-7802
> URL: https://issues.apache.org/jira/browse/BEAM-7802
> Project: Beam
> Issue Type: Improvement
> Components: sdk-java-core
> Reporter: Ismaël Mejía
> Assignee: Ismaël Mejía
> Priority: Minor
> Fix For: 2.16.0
>
> Time Spent: 6.5h
> Remaining Estimate: 0h
>
> Avro can infer the Schema for an Avro based PCollection by using the
> `withBeamSchemas` method, however if the user created a PCollection with Avro
> objects or IndexedRecord/GenericRecord, he needs to manually set the schema
> (or coder). The idea is to expose a method to easily get a Schema Coder from
> Avro objects or Schema and the user finally can set the Schema-based coder if
> it needs the PCollection to behavie like a Schema-based one.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)