We had to do that as well. Meg On Nov 27, 2013 7:19 AM, "Ruslan Al-Fakikh" <[email protected]> wrote:
> In my company we had to write our own Loader/Storer UDFs for this. > > > On Wed, Nov 27, 2013 at 6:00 PM, Noam Lavie <[email protected]> wrote: > > > Hi, > > > > Is there a way to load a csv file with header as schema? (the header's > > fields are the properties of the schema and the other list in the csv > file > > will be in the schema format) > > > > For example: > > Name last name age > > Noam lavie 26 > > Map reduce 30 > > > > > > ð {name:noam, last name:lavie, age:26} > > > > ð {name:map, last name:erduce, age:30} > > > > > > > > > > Is it even possible? Do I need to write a special UDF for it? Is there a > > known UDF that does it? > > > > Thanks > > Noam > > > > > > ________________________________ > > > > This email contains proprietary and/or confidential information of > Pontis. > > If you have received this email in error, please delete all copies > without > > delay and do not copy, distribute, or rely on any information contained > in > > this email. > > >
