Open gergof opened 5 years ago
@gergof I have a same problem when I use this codec with a double default value within a schema registry. You should fix some code like below @ avro-1.9.2/lib/avro/schema_validator.rb
130 fail TypeMismatchError unless datum.is_a?(Float) || datum.is_a?(Integer) || datum.is_a?(BigDecimal)
I hope it will help.
Same issue here too. Did anyone have a way of working around this?
We wan't to use this lib to use logstash with schemas from our schema-registry. But when deserializing the data we get this error:
The relevant part of the schema:
The column in our database was float(10, 2) (imported using debezium).
The call stack: