Tags: ruisunon/avro-util
Tags
Float Array Element Access Improvement (linkedin#79) * Float array element access improvement * Float array element access improvement Co-authored-by: Sourav Maji <majisourav@gmail.com>
Added specific record tests for primitive arrays. (linkedin#81) * Fixed bug in specific record support for primitive arrays. Addressed bugs related to missing constructors in the PrimitiveArrayList and its child classes. Also refactored those classes slightly to reduce boilerplate. Altered the meta code: - List construction does not rely on Collections.emptyList() since that is incompatible with the primitive list classes. - Fixed a case where list instantiation wasn't guarded by getShouldRead(), when schema evolution gets rid of a list field. This would previously cause a NPE during code gen. - Refactored the list handling code so that list instance reuse occurs even though the particular payload being deserialized has zero elements. * Code gen for PR linkedin#81
Fixed a bug when generating specific FastSerializer with Union of Str… …ingable type (linkedin#71) * Fixed a bug when generating specific FastSerializer with Union of Stringable type Along with the bug fix, this code change always optimized the if/else condition for union/enum handling, and also removed the unnecessary type check for String field handling. * Code gen for linkedin#71
'avro.java.string' support in fast-avro (linkedin#66) * 'avro.java.string' support in fast-avro * Code gen for linkedin#66
add newBinaryDecoder which re-configures a BinaryDecoder in AvroCompa… …tibilityHelper (linkedin#52) Venice has a local optimization requires re-initialize a BinaryDecoder, but the method signature is different in avro 1.4 and versions after 1.4. In order to be compatible with all avro versions, we need to add this method in AvroCompatibilityHelper. Co-authored-by: xnma <xnma@linkedin.com>
Fix a bug in object reuse in CompositeByteBuffer (linkedin#48) The buffer size should be less than or equal to the new size for object reuse to utilize the existing buffer in CompositeByteBuffer. The bug was that we previously did not check for equality, leading to spurious memory allocation in the common case where we attempt to reuse arrays with the same number of elements.
Fixed two bugs in FastDeserializerGenerator (linkedin#46) 1. fixed null exception when updating actual exceptions for already generated record method; 2. corrected value action symbols iteration order for nested Map; Co-authored-by: Bingfeng Xia <bixia@linkedin.com>
PreviousNext