Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
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 cloned by
-
FLINK-18478 AvroDeserializationSchema does not work with types generated by avrohugger
- Reopened
- links to