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.
Martin On 8 Apr 2014, at 05:04, Talat Uyarer <[email protected]> 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
