You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Dawid Wysakowicz (Jira)" <ji...@apache.org> on 2020/10/09 06:39:00 UTC
[jira] [Closed] (FLINK-19339) Support Avro's unions with logical
types
[ https://issues.apache.org/jira/browse/FLINK-19339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dawid Wysakowicz closed FLINK-19339.
------------------------------------
Resolution: Implemented
> Support Avro's unions with logical types
> ----------------------------------------
>
> Key: FLINK-19339
> URL: https://issues.apache.org/jira/browse/FLINK-19339
> Project: Flink
> Issue Type: Improvement
> Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile)
> Reporter: Dawid Wysakowicz
> Assignee: Dawid Wysakowicz
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.12.0, 1.10.3, 1.11.3
>
>
> Avro 1.9.x introduced yet another mechanism for registering/looking up conversions for logical types. See https://issues.apache.org/jira/browse/AVRO-1891
> If a logical type is part of a union a static field {{MODEL$}} of type {{SpecificData}} will be added to the generated Avro class with registered conversions for a logical type. We should use that {{SpecificData}} in {{AvroSerializer}} and {{Avro(De)SerializationSchema}} whenever available.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)