if writer's is a union, but reader's is not
If the reader's schema matches the selected writer's schema, it is recursively resolved against it. If they do not match, an error is signalled.
synchronizedfor what's essentially a concurrent map and a couple of rest calls that need to be cached
[Foo, Bar, Baz]I can use
[null, Foo]as a reader schema and decode as
Option[Foo]. It really annoys me that Avro doesn't allow that.
vulcan-genericand I see that the schema getting generated for my
sealed traithas changed. The change is in the order of records. This also affects the references of nested records. Is there a way to control this or prevent that change?
LocalDateproduces weird results where
LocalDate.toEpochDayreturns a value greater than the max int (due to internal use of
Long.toInt), obviously its a fairly unlikely scenario in the real world, but just thought I'd mention it!
@bplommer after switching to 1.7.0 I get "Error decoding Option: Error decoding union: Missing alternative array in union" in derived codecs when I decode
GenericData.Record. But it happens ONLY after ser/de via GenericDatumWriter/GenericDatumReader
Which change might have broken the codec?
@catostrophe eek, thanks for the heads up - would you mind opening a GitHub issue?
GenericData, which we wrongly assumed was only used for named types (record, enum, fixed)