-
Type:
Bug
-
Status: Reopened
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Formats (JSON, Avro, Parquet, ORC, SequenceFile)
-
Labels:
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:
- is a clone of
-
FLINK-12501 AvroTypeSerializer does not work with types generated by avrohugger
-
- Closed
-
- is cloned by
-
FLINK-18692 AvroSerializationSchema does not work with types generated by avrohugger
-
- Open
-
-
FLINK-18693 AvroSerializationSchema does not work with types generated by avrohugger
-
- Closed
-
- links to