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

Corinne Chandel resolved PIG-1606.
----------------------------------

    Resolution: Fixed

Updates included in Pig-1600 -- See pig080-3.patch

> flatten documentation does not discuss flatten of empty bag
> -----------------------------------------------------------
>
>                 Key: PIG-1606
>                 URL: https://issues.apache.org/jira/browse/PIG-1606
>             Project: Pig
>          Issue Type: Bug
>          Components: documentation
>            Reporter: Thejas M Nair
>            Assignee: Corinne Chandel
>             Fix For: 0.8.0
>
>
> From the existing flatten documentation, it is not clear that flatten of an 
> empty bag results in that row being discarded .
> For example the following query gives no output -
> {code}
> grunt> cat /tmp/empty.bag
> {}      1
> grunt> l = load '/tmp/empty.bag' as (b : bag{}, i : int);
> grunt> f = foreach l generate flatten(b), i;
> grunt> dump f;
> grunt>
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to