avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: GenericDatumWriter.write and the Integer type
Date Mon, 11 Jun 2012 20:13:33 GMT
On Sat, Jun 9, 2012 at 8:58 AM, Mark Hayes <mark@greybird.com> wrote:
> I can override GenericDatumWriter.write to address this (essentially revert
> to the old code behavior).
>
> But is my reliance on the casting errors, to get cheap validation,
> appropriate?

Relying on a casting error for validation seems appropriate.  Sorry
this change wasn't good for you.  Your workaround seems entirely
reasonable to me.

Doug

Mime
View raw message