Olga Natkovich
Wed, 08 Oct 2008 13:03:50 -0700
It should work just fine; the missing data will be replaced with null at least in the types branch. Olga > -----Original Message----- > From: Kevin Weil [EMAIL PROTECTED] > Sent: Wednesday, October 08, 2008 12:00 PM > To: pig-user@incubator.apache.org > Subject: BinStorage and versioning > > Hi, > > Say that I write out a tuple with three fields using > BinStorage. And then in a couple months, I add a parameter, > so now I write out a tuple with a new fourth field. If I'm > loading a directory containing the files that have both of > these tuples, and I say > > a = LOAD 'my_directory' using BinStorage() as (f1, f2, f3, f4) > > what will happen when BinStorage tries to load the first > tuple with only three fields? Will f4 just be NULL? > > Thanks, > Kevin >