Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
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
- is a clone of
-
FLINK-18478 AvroDeserializationSchema does not work with types generated by avrohugger
- Reopened
- is related to
-
FLINK-18692 AvroSerializationSchema does not work with types generated by avrohugger
- Open