When we set a default on an avro field, the type must match
the schema definition. For example, if our field has a schema
of type Long, then the default must be a number value.
This class will accept an Avro encoded value and convert it
to a suitable default type.
When we set a default on an avro field, the type must match the schema definition. For example, if our field has a schema of type Long, then the default must be a number value.
This class will accept an Avro encoded value and convert it to a suitable default type.