avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Busbey <bus...@cloudera.com>
Subject Re: Unable to compile a namespace-less schema
Date Mon, 07 Oct 2013 17:58:55 GMT
Hi Vitay!

Can you give us a minimal schema and test program that illustrates the
problem you're describing?

On Oct 7, 2013 12:27 PM, "Vitaly Gordon" <vitalip@gmail.com> wrote:

> 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?
> Thanks,
> Vitay

View raw message