You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Richard Ding (JIRA)" <ji...@apache.org> on 2011/02/15 02:16:57 UTC

[jira] Resolved: (PIG-206) Right granularity for a pig script

     [ https://issues.apache.org/jira/browse/PIG-206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard Ding resolved PIG-206.
------------------------------

    Resolution: Fixed

bq. there is no way of defining "pig functions in pig". This lead obviously to pig code duplication.
 
PIG-1793 introduced MACROs to Pig Latin that allowed modularity of Pig scripts.

bq. every store statement is evaluated independently of the other, so there is no possibility for a script to detect the existence of a reusable intermediary result.

This problem was addressed by multi-query optimization introduced in Pig 0.3. 

> Right granularity for a pig script
> ----------------------------------
>
>                 Key: PIG-206
>                 URL: https://issues.apache.org/jira/browse/PIG-206
>             Project: Pig
>          Issue Type: Wish
>            Reporter: Mathieu Poumeyrol
>            Assignee: Richard Ding
>             Fix For: 0.9.0
>
>
> I'd like to understand what people have in mind when they picture pig scripts...

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira