Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-19339

Support Avro's unions with logical types

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

      Description

      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.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              dwysakowicz Dawid Wysakowicz
              Reporter:
              dwysakowicz Dawid Wysakowicz

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment