avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kleppmann <mkleppm...@linkedin.com>
Subject Re: Fixed Type
Date Tue, 08 Apr 2014 23:16:04 GMT
Hi Talat,

If you want to enforce a maximum size, you'll need to do that in your application before writing
the data to Avro. Avro only has variable-sized types (int, string, bytes, ...) and a fixed-size
type (fixed) but no configurable size constraint.


On 8 Apr 2014, at 05:04, Talat Uyarer <talat@uyarer.com> wrote:
> Hi all,
> "size: an integer, specifying the number of bytes per value" is
> written In Fixed Type Section  of Documentation. If I want to limit
> size of Integer or String type field. How can I do in Avro ?
> Thanks
> -- 
> Talat UYARER
> Websitesi: http://talat.uyarer.com
> Twitter: http://twitter.com/talatuyarer
> Linkedin: http://tr.linkedin.com/pub/talat-uyarer/10/142/304

View raw message