Description
A bug reported on the dev email list. I have not confirmed it:
Hi,
Avro spec says that writer schema's long can be promoted to reader
schema's float or double. In my test, I'm getting ErrorAction from
ResolvingGrammarGenerator.generate() when writer schema is long and
reader schema expects float. Looking at the source code, when reader
and writer type are not the same, the switch(readerType) only handles
Long, Double and Union, not Float. This is the reason I'm getting "Found
Long, expecting Float" error.Best regards,
Xiaolu