Details
-
Bug
-
Status: Open
-
Not a Priority
-
Resolution: Unresolved
-
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
- relates to
-
FLINK-18693 AvroSerializationSchema does not work with types generated by avrohugger
- Closed