projecting a column from within non tuple/bag datatype should result in error 
in frontend
-----------------------------------------------------------------------------------------

                 Key: PIG-1992
                 URL: https://issues.apache.org/jira/browse/PIG-1992
             Project: Pig
          Issue Type: Bug
            Reporter: Thejas M Nair
            Assignee: Thejas M Nair
             Fix For: 0.9.0


{code}
grunt> a = load 'foo' as (x : int);
grunt> f = foreach a generate x.$0; -- This should generate an error, as x is 
not a tuple/bag.
{code}

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

Reply via email to