You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Daniel Dai (JIRA)" <ji...@apache.org> on 2011/04/15 04:15:06 UTC
[jira] [Updated] (PIG-1910) incorrect schema shown when
project-star is used with other projections
[ https://issues.apache.org/jira/browse/PIG-1910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Dai updated PIG-1910:
----------------------------
Attachment: PIG-1910-1.patch
> incorrect schema shown when project-star is used with other projections
> -----------------------------------------------------------------------
>
> Key: PIG-1910
> URL: https://issues.apache.org/jira/browse/PIG-1910
> Project: Pig
> Issue Type: Bug
> Affects Versions: 0.9.0
> Reporter: Thejas M Nair
> Assignee: Daniel Dai
> Fix For: 0.9.0
>
> Attachments: PIG-1910-1.patch
>
>
> {code}
> grunt> l = load 'x' ;
> grunt> f = foreach l generate $1 as a, *, $2 as b;
> grunt> describe f;
> f: {a: bytearray,(null),b: bytearray} -- The tuple returned by * is automatically flattened, so this schema is not correct. It is more accurate to return a null schema.
> {code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira