hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mohit Anchlia <mohitanch...@gmail.com>
Subject Re: Avro
Date Sun, 05 Aug 2012 06:46:52 GMT
On Sat, Aug 4, 2012 at 11:43 PM, Nitin Kesarwani <bumble.dev@gmail.com>wrote:

> Mohit,
>
> You can use this patch to suit your need:
> https://issues.apache.org/jira/browse/PIG-2579
>
> New fields in Avro schema descriptor file need to have a non-null default
> value. Hence, using the new schema file, you should be able to read older
> data as well. Try it out. It is very straight forward.
>
> Hope this helps!


Thanks! I am new to Avro what's the best place to see some examples of how
Avro deals with schema changes? I am trying to find some examples.

>
> On Sun, Aug 5, 2012 at 12:01 AM, Mohit Anchlia <mohitanchlia@gmail.com>
> wrote:
>
> I've heard that Avro provides a good way of dealing with changing schemas.
> > I am not sure how it could be done without keeping some kind of structure
> > along with the data. Are there any good examples and documentation that I
> > can look at?
> >
>
> -N
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message