pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Coveney (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIG-2939) Pig macros need namespaces to avoid namespace collisions facilitate macro sharing
Date Tue, 02 Oct 2012 18:13:08 GMT

    [ https://issues.apache.org/jira/browse/PIG-2939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13467923#comment-13467923
] 

Jonathan Coveney commented on PIG-2939:
---------------------------------------

I think that we could instead add scope to Pig (the beloved {}'s), which would give this for
free.
                
> Pig macros need namespaces to avoid namespace collisions facilitate macro sharing
> ---------------------------------------------------------------------------------
>
>                 Key: PIG-2939
>                 URL: https://issues.apache.org/jira/browse/PIG-2939
>             Project: Pig
>          Issue Type: New Feature
>          Components: parser, piggybank
>    Affects Versions: 0.11
>         Environment: All
>            Reporter: Russell Jurney
>            Assignee: Daniel Dai
>             Fix For: 0.11
>
>
> With sharing macros, colliding namespaces is very likely given that multiple macros from
different authors might import them in the same pig script. I propose that we add namespaces
to macros.
> We can either add a namespace command in macros, or name the space by the filename.
> This ticket is needed to facilitate sharing of macros within and between organizations
and individuals in piggybank or on github or wherever.

--
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