You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Prashant Kommireddi (JIRA)" <ji...@apache.org> on 2013/02/19 23:13:13 UTC

[jira] [Updated] (PIG-3199) Expose LogicalPlan via PigServer API

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

Prashant Kommireddi updated PIG-3199:
-------------------------------------

    Attachment: PIG-3199.patch

Adding a new method getLogicalPlan() to PigServer that retrieves the lp associated with current DAG.

Marking Graph.getLogicalPlan() as private since there is no calls being made to it within Pig, and Graph itself is protected. Please let me know if there are any objections to that.

Also, removing an unnecessary annotation  {code}@SuppressWarnings("unchecked"){code}

Added a test testGetLogicalPlan() to TestPigServer.


                
> Expose LogicalPlan via PigServer API
> ------------------------------------
>
>                 Key: PIG-3199
>                 URL: https://issues.apache.org/jira/browse/PIG-3199
>             Project: Pig
>          Issue Type: Improvement
>          Components: impl
>    Affects Versions: 0.10.0
>            Reporter: Prashant Kommireddi
>            Assignee: Prashant Kommireddi
>             Fix For: 0.12
>
>         Attachments: PIG-3199.patch
>
>
> LogicalPlan could be exposed to user in order for one to make validations based on it. For eg, one could get Load/Store paths or other operators and be able to perform checks such as whether I/O paths are valid etc.  

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