add logical plan assumption checker 
------------------------------------

                 Key: PIG-2176
                 URL: https://issues.apache.org/jira/browse/PIG-2176
             Project: Pig
          Issue Type: Improvement
    Affects Versions: 0.9.0
            Reporter: Thejas M Nair
             Fix For: 0.9.0, 0.10


Pig expects certain things about LogicalPlan, and optimizer logic depends on 
those to be true. Could that verifies that these assumptions are true will help 
in catching issues early on. 
Some of the assumptions that should be checked - 
1. All schema have valid uid . (not -1).
2. All fields in schema have distinct uid. 


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

        

Reply via email to