We've recently come across a situation where we have two data files with
different schemas that we'd like to process together using
GenericDatumReader. One schema is promotable to the other, but not vice
versa. We'd like to programmatically determine which of the schemas to use.
I did a brief look through javadoc and tests, and I couldn't find any
examples of checking if one schema is promotable to the other. Has anyone
else come across this?
For some context, we're considering patching AvroStorage  to remove the
assumption that all files have the same schema. In our case, our schema has
evolved in that a field that was an int was promoted to a long.
Doug Cutting 2011-05-06, 18:59
Joe Crobak 2011-05-06, 19:22