Commits


Magne Helleborg authored and GitHub committed 4a1e3acdc09
AVRO-2641: Fix for SpecificRecord String deserialization (#728) * AVRO-2641: Fix for SpecificRecord String deserialization Changed from casting object to String when schema expects String field. Since Avro can represent Strings in Java as either String, CharSequence or org.apache.avro.util.Utf8,the put can fail with a ClassCastException. By changing from cast to toString() the issue is circumvented. * Apply suggestions from code review Added spacing for legibility as suggested. Co-Authored-By: Fokko Driesprong <fokko@driesprong.frl> * AVRO-2641: Whitespace fixes for unit tests. Co-authored-by: Fokko Driesprong <fokko@driesprong.frl> Co-authored-by: RyanSkraba <ryan@skraba.com>