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 reference this:
http://wiki.apache.org/pig/UDFManual#line-595
However, the current source does not have this method:
http://svn.apache.org/viewvc/pig/trunk/src/org/apache/pig/LoadFunc.java?view=markup
Why was this removed? What replaces this functionality?

Thanks,
-Nate

Reply via email to