You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2011/04/14 16:59:05 UTC

[jira] [Resolved] (PIG-1992) projecting a column from within non tuple/bag datatype should result in error in frontend

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

Thejas M Nair resolved PIG-1992.
--------------------------------

    Resolution: Duplicate

Duplicate of PIG-1281 .

> 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