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

Rohini Palaniswamy updated PIG-5153:
------------------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 0.17.0
           Status: Resolved  (was: Patch Available)

+1. Committed to trunk. Thanks for the patch Adam.

> Change of behavior in FLATTEN(map)
> ----------------------------------
>
>                 Key: PIG-5153
>                 URL: https://issues.apache.org/jira/browse/PIG-5153
>             Project: Pig
>          Issue Type: Test
>            Reporter: Koji Noguchi
>            Assignee: Adam Szita
>            Priority: Minor
>             Fix For: 0.17.0
>
>         Attachments: PIG-5153.0.patch
>
>
> In PIG-5085 we changed the behavior of FLATTEN on map.  
> (I didn't even know this was even allowed until I saw the following test 
> failure.)
> e2e nightly FOREACH_6 started failing after this change.
> {code}
>             'num' => 6,
>             'pig' => q\register :FUNCPATH:/testudf.jar;
> a = load ':INPATH:/singlefile/studenttab10k' as (name, age, gpa);
> b = foreach a generate flatten(name) as n, 
> flatten(org.apache.pig.test.udf.evalfunc.CreateMap((chararray)name, gpa)) as 
> m;
> store b into ':OUTPATH:' using 
> org.apache.pig.test.udf.storefunc.StringStore();\,
>             },
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to