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

AvroDeserializationSchema does not work with types generated by avrohugger

    XMLWordPrintableJSON

Details

    Description

      The main problem is that the code in SpecificData.createSchema() tries to reflectively read the SCHEMA$ field, that is normally there in Avro generated classes. However, avrohugger generates this field in a companion object, which the reflective Java code will therefore not find.

      This is also described in these ML threads:

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aljoscha Aljoscha Krettek
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: