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

Prashant Kommireddi commented on PIG-3793:
------------------------------------------

[~kyunghoj] thanks for bringing this up. I did think about this and went with 
the other approach of going through LogicalPlan at the time of 
LogicalPlanData's creation. The other approach would require us going through 
the LogicalPlan for each of the method calls which would be expensive. I agree 
it could be documented better :)

> 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