Details
-
New Feature
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
Currently, compiler supports java-class and generates java classes with the given class. It works properly with serialization as toString() is being called, however, on deserialization compiler generates casting instead of calling a constructor with the string argument.
It works with the ReflectData but not with the SpecificData which throws ClassCastException in runtime.
To solve this, the same behaviour as ReflectData could be used (calling a constructor with a String argument)
Attachments
Issue Links
- relates to
-
AVRO-3160 Decimal logical type for strings
- Resolved
- links to