Re: specifying the schema with a LoadFunc

2011-05-23 Thread Dmitriy Ryaboy
---Original Message- > From: Daniel Dai [mailto:jiany...@yahoo-inc.com] > Sent: Friday, May 20, 2011 4:31 PM > To: user@pig.apache.org > Cc: Sweet, Nate > Subject: Re: specifying the schema with a LoadFunc > > It is changed to LoadMetadata.getSchema() starting 0.7. > > Danie

Re: specifying the schema with a LoadFunc

2011-05-23 Thread Daniel Dai
-inc.com] Sent: Friday, May 20, 2011 4:31 PM To: user@pig.apache.org Cc: Sweet, Nate Subject: Re: specifying the schema with a LoadFunc It is changed to LoadMetadata.getSchema() starting 0.7. Daniel On 05/20/2011 02:20 PM, Sweet, Nate wrote: Hi, I have a LoadFunc that loads data using a comple

RE: specifying the schema with a LoadFunc

2011-05-23 Thread Sweet, Nate
31 PM To: user@pig.apache.org Cc: Sweet, Nate Subject: Re: specifying the schema with a LoadFunc It is changed to LoadMetadata.getSchema() starting 0.7. Daniel On 05/20/2011 02:20 PM, Sweet, Nate wrote: > Hi, > > I have a LoadFunc that loads data using a complex schema. I don't

Re: specifying the schema with a LoadFunc

2011-05-20 Thread Daniel Dai
It is changed to LoadMetadata.getSchema() starting 0.7. Daniel On 05/20/2011 02:20 PM, Sweet, Nate wrote: Hi, I have a LoadFunc that loads data using a complex schema. I don't want to have to specify the schema every time. LoadFunc used to have a method "determineSchema". The current docs re

specifying the schema with a LoadFunc

2011-05-20 Thread Sweet, Nate
Hi, I have a LoadFunc that loads data using a complex schema. I don't want to have to specify the schema every time. LoadFunc used to have a method "determineSchema". The current docs reference this: http://wiki.apache.org/pig/UDFManual#line-595 However, the current source does not have this met