avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Douglas Creager <doug...@creagertino.net>
Subject Re: Schema evolution and projection
Date Fri, 01 Mar 2013 23:34:10 GMT
> I get:
> Reading evolved data with schema resolution, showing new field "c"...
> Error: Reader field c doesn't appear in writer
> I was under the impression that I should have received the default value
> of 42 for field 'c' for each item in the data file.

So this is actually because the C API doesn't support default values
yet.  :-/  The schema parsing code just ignores the "default" clause
completely, which is why you're seeing that particular error message.

That said, we do have all of the pieces in place to handle default
values now; they've just never been hooked together.  Could you open a
JIRA ticket for this?  I think it's something that we could bang
together pretty quickly.


View raw message