Re: Why is the set of logicalType Conversions empty by default for a GenericDatumReader?

2020-04-02 Thread Ryan Blue
Logical type conversions are empty by default to avoid a breaking behavior change. If we added default conversions, you'd get a different object back in code that updated an Avro dependency and it would break at runtime with a ClassCastException. On Thu, Apr 2, 2020 at 4:40 AM Csaba Galyo wrote:

Re: Why is the set of logicalType Conversions empty by default for a GenericDatumReader?

2020-04-02 Thread Csaba Galyo
+dev maybe someone can answer on this On Thu, Apr 2, 2020 at 1:07 PM wrote: > Hello, > > I have a question on a specific design decision in Avro. I have a schema > with a "logicalType=decimal" field. When using SpecificDatumReader to > deserialize it, the field will get correctly deserialized as