[
https://issues.apache.org/jira/browse/BEAM-11571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ismaël Mejía updated BEAM-11571:
--------------------------------
Description:
Beam's Convert transform allows to 'automatically' convert from a Schema based
PCollection into a target one.
The current implementation fails if the target PCollection is backed by
GenericRecord. Supporting this type of conversion is important because many IOs
e.g. AvroIO, ParquetIO have write/sink transforms that depend on the input
PCollection in GenericRecord form.
was:
Beam's Convert transform allows to convert a Schema based PCollection into a
target type.
The current implementation fails if the target object is a GenericRecord,
however supporting this type of conversion is important because many IOs e.g.
AvroIO, ParquetIO have write/sink transforms that depend on the conversion
being in GenericRecord form.
> Support Conversion to GenericRecords in Convert.to transform
> ------------------------------------------------------------
>
> Key: BEAM-11571
> URL: https://issues.apache.org/jira/browse/BEAM-11571
> Project: Beam
> Issue Type: Improvement
> Components: sdk-java-core
> Reporter: Ismaël Mejía
> Assignee: Ismaël Mejía
> Priority: P2
>
> Beam's Convert transform allows to 'automatically' convert from a Schema
> based PCollection into a target one.
> The current implementation fails if the target PCollection is backed by
> GenericRecord. Supporting this type of conversion is important because many
> IOs e.g. AvroIO, ParquetIO have write/sink transforms that depend on the
> input PCollection in GenericRecord form.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)