Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Avro >> mail # user >> Type cast exception


Copy link to this message
-
Re: Type cast exception
For now, as a work-around, we are thinking of switching to directly using the
schema instead of the generated class file. So, something like this:

Schema
schema=Schema.parse(getClass().getResourceAsStream("ChangeLogContent.avsc"));

Its still unresolved why avro 1.7.4 couldn't fix this issue though.

--
View this message in context: http://apache-avro.679487.n3.nabble.com/Type-cast-exception-tp756884p4027743.html
Sent from the Avro - Users mailing list archive at Nabble.com.