There's one jira Pig-966 <https://issues.apache.org/jira/browse/PIG-966>which try to integrate hadoop's InputFormat and OutputFormat to pig. I think after this jira is completed, you can get the name of file by getting parameter map.input.file from Configuration in your UDF. But now I don't think you can do that. On Sat, Jan 16, 2010 at 7:49 PM, Guy Bayes <[EMAIL PROTECTED]> wrote:
> Is there any way to retrieve job parameters and task execution / > environment > variables from inside a pig script? > > I'm trying to grab the name of the file I am processing using > map.input.file > > > thanks > Guy >
-- Best Regards
All projects made searchable here are trademarks of the Apache Software Foundation.
Service operated by Sematext