avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Clueless <moreclueless...@gmail.com>
Subject Best way to handle some "max length" for string ?
Date Thu, 17 Mar 2016 23:41:50 GMT

I would like to be able to specify the max lenght of some string in my
schema, and then when using the generated POJO to make sure somehow
before/while encoding it that it sticks to the max length defined.

How would you suggest to achieve this?

I've been looking into properties and then LogicalTypes but I wonder if
this is right...

Thanks in advance

View raw message