Skip to content

Releases: linkedin/avro-util

0.2.12

16 Oct 21:03
Compare
Choose a tag to compare

Fast-Avro support for all versions between 1.4 and 1.10.

0.2.11

12 Oct 21:48
0583357
Compare
Choose a tag to compare
fix bug in locating the Schema.parse() call when docs have code snipp…

0.2.10: ClassNotFound fix in fast-avro lib

29 Sep 03:56
fc5f27e
Compare
Choose a tag to compare
Fix for ClassNotFoundException occurring during deserializer compilat…

Avro schema verifier to check proper union default type.

18 Sep 00:16
c906d3a
Compare
Choose a tag to compare

Avro schema verifier to check proper union default type.

From: https://avro.apache.org/docs/current/spec.html#Unions

(Note that when a default value is specified for a record field whose type is a union, the type of the default value must match the first element of the union. Thus, for unions containing "null", the "null" is usually listed first, since the default value of such unions is typically null.)

Union evolution bug fixes

26 Aug 17:55
f41541d
Compare
Choose a tag to compare

Various fixes for union support in fast-avro, both in serialization and deserialization.

0.2.7: logger verbosity changes (#75)

17 Aug 19:24
80ecbc2
Compare
Choose a tag to compare
* schema content is not logged upon successful fast(de)serializer compilation by default
* success messages are logged after actual (de)serializer generation in FastSerdeCache

Improve PrimitiveFloatArray access performance

27 Jul 17:00
18a77a2
Compare
Choose a tag to compare

Currently to support List interface guarantees of mutability (add/remove operation) we cache the array from ByteBuffer to the array element at the first access. For sparse access pattern on immutable access (only get) we do not need to deserialize the entire array. This change lazily deserialize only the access element.

without change:
FastAvroSerdesBenchmark.testFastAvroDeserializationAccess avgt 5 11239.252 ± 548.146 ns/op
FastAvroSerdesBenchmark.testFastAvroDeserializationAccess8 avgt 5 4140.900 ± 229.986 ns/op
FastAvroSerdesBenchmark.testFastAvroDeserializationAccess16 avgt 5 3671.041 ± 269.680 ns/op

with change:
FastAvroSerdesBenchmark.testFastAvroDeserializationAccess avgt 5 11073.572 ± 109.950 ns/op
FastAvroSerdesBenchmark.testFastAvroDeserializationAccess8 avgt 5 1314.574 ± 25.884 ns/op
FastAvroSerdesBenchmark.testFastAvroDeserializationAccess16 avgt 5 917.803 ± 209.712 ns/op

0.2.5

23 Jul 22:53
5469e25
Compare
Choose a tag to compare
Added specific record tests for primitive arrays. (#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 #81

0.2.4: bug fix in specific FastSerializer

02 Jul 23:42
a00fcb4
Compare
Choose a tag to compare
Fixed a bug when generating specific FastSerializer with Union of Str…

0.2.3: Fixed an edge case in fast-avro serializer

01 Jul 18:31
1d09b6f
Compare
Choose a tag to compare
"avro.java.string" support in union type for fast serializer (#70)

* "avro.java.string" support in union type for fast serializer

* Code gen for #70