Schema validation of a field's default values

2012-10-19 Thread Mark Hayes
Hi, It looks like the Schema parser doesn't check a field's default value against the field's type. So for example, you can define a string default value for a field of type int. Since the default value is only used in certain circumstances for schema resolution, such an error might not easily b

using strings instead of utf8

2012-10-19 Thread Koert Kuipers
how do i tell (generic) avro to use strings for values instead of it's own utf8 class? i saw a way of doing it by modifying the schemas (adding a property). i also saw mention of a way to do it if you use maven (which i don't). is there a generic way to do this? like a system property perhaps? or

Re: version of avro

2012-10-19 Thread Ken Krugler
On Oct 19, 2012, at 1:03pm, Koert Kuipers wrote: > i noticed avro version 1.5.4 is included with some version/distros of hadoop > and hive... is there a reason why 1.5.4 is included specifically and not > newer ones? are there some incompatibilities to be aware of? i would like to > use a newe

version of avro

2012-10-19 Thread Koert Kuipers
i noticed avro version 1.5.4 is included with some version/distros of hadoop and hive... is there a reason why 1.5.4 is included specifically and not newer ones? are there some incompatibilities to be aware of? i would like to use a newer version thanks! koert