Description
I accidentally had a field in an .avsc file that looked like this:
{ "name": "date", "type": [ "null", { "type": "long", "logicalType": "date" } ],
Running the avro-maven-plugin's schema goal, I see this warning:
Ignoring invalid logical type for name: date
The 'fix' was to change the type from "long" to "int", but two things surprised me here:
1. this continued on creating a logical type of `timestamp-millis` (I think, resulting java data type was java.time.Instant)
2. there is no way I can see to fail on warning
Ideally I'd want to be able to configure the codegen task to fail if the type is not defined correctly.