avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vitaly Gordon <vita...@gmail.com>
Subject Unable to compile a namespace-less schema
Date Mon, 07 Oct 2013 17:26:46 GMT
Hi All,
I am trying to read Avro data that its schema does not have a namespace.
The problem is that I cannot compile the classes, because the generated
Java code does not have a package. On the other hand, if I do add some
arbitrary namespace to the schema, the record is resolved as a generic one,
which then fails on ClassCastException to the specific record.

Any ideas on how I can resolve this issue?


View raw message