Skip to content

0.1.15: Fast-avro - fixed a bug when processing union in Fast Serializer

Compare
Choose a tag to compare
@gaojieliu gaojieliu released this 13 Apr 23:18
· 376 commits to master since this release
e49d36e
Fixed a bug in processUnion of FastSerializer (#44)

Previously, the code is checking schema type to decide the right index,
and this change was introduced to accommodate Avro-1.4, but this is
not appropriate since Union could contain multiple record types, which
will cause the writen index will always be the index of the first record.
The fix is to check the full name of the schema instead of type name.