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

Kyungho Jeon commented on PIG-3793:
-----------------------------------

Okay, I was confused. As {{PigServer}} is the only interface that Pig users can 
use for submitting a query and Pig doesn't expose {{LogicalPlan}}, there's no 
way to mutate currDAG.lp. So now I believe the current 
{{getNumLogicalRelationOperators()}} implementation is reasonable and having 
{{resetLogicalPlanData()}} will be sufficient. 

> Provide info on number of LogicalRelationalOperator(s) used in the script 
> through LogicalPlanData
> -------------------------------------------------------------------------------------------------
>
>                 Key: PIG-3793
>                 URL: https://issues.apache.org/jira/browse/PIG-3793
>             Project: Pig
>          Issue Type: Improvement
>          Components: data
>    Affects Versions: 0.13.0
>            Reporter: Prashant Kommireddi
>            Assignee: Prashant Kommireddi
>             Fix For: 0.13.0
>
>         Attachments: PIG-3793.patch, PIG-3793_2.patch
>
>
> Its useful to have an understanding of how many operators are being used in 
> the script via the API. This could allow admins to enforce 
> checks/restrictions on the length/complexity of the plan in user scripts.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to