pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Packer (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PIG-3359) Register Statements and Param Substitution in Macros
Date Thu, 20 Jun 2013 21:00:21 GMT
Jonathan Packer created PIG-3359:
------------------------------------

             Summary: Register Statements and Param Substitution in Macros
                 Key: PIG-3359
                 URL: https://issues.apache.org/jira/browse/PIG-3359
             Project: Pig
          Issue Type: Bug
          Components: parser
            Reporter: Jonathan Packer
            Assignee: Jonathan Packer


There are some gaps in the functionality of macros that I'll be making a patch to address.
The goal is to provide everything you'd need to make reusable algorithms libraries.

1. You can't register udfs inside a macro
2. Paramater substitutions aren't done inside macros
3. Resources (including macros) should not be redundantly acquired if they are already present.

Rohini's patch https://issues.apache.org/jira/browse/PIG-3204 should address problem 3 where
Pig reparses everything every time it reads a line, but there still would be a problem if
two separate files import the same macro / udf file. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message