You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Ismaël Mejía (Jira)" <ji...@apache.org> on 2020/04/21 08:30:02 UTC
[jira] [Closed] (BEAM-7802) Expose a method to make an Schema coder
from an Avro coder
[ https://issues.apache.org/jira/browse/BEAM-7802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ismaël Mejía closed BEAM-7802.
------------------------------
> 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
(v8.3.4#803005)