[ 
https://issues.apache.org/jira/browse/PIG-3010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13582491#comment-13582491
 ] 

Dmitriy V. Ryaboy commented on PIG-3010:
----------------------------------------

1) patch didn't apply:
src/org/apache/pig/backend/hadoop/executionengine/physicalLayer/relationalOperators/POForEach.java
Revision 14598cc        New Change
Diff currently unavailable.
Error: The patch to 
'src/org/apache/pig/backend/hadoop/executionengine/physicalLayer/relationalOperators/POForEach.java'
 didn't apply cleanly. The temporary files have been left in 
'/tmp/reviewboard.3x6PyD' for debugging purposes. `patch` returned: patching 
file /tmp/reviewboard.3x6PyD/tmp7aQP12 Hunk #5 FAILED at 108. 1 out of 20 hunks 
FAILED -- saving rejects to file /tmp/reviewboard.3x6PyD/tmp7aQP12-new.rej 

2) can you describe the general approach here? Looks like the changes are 
pretty deep.
                
> Allow UDF's to flatten themselves
> ---------------------------------
>
>                 Key: PIG-3010
>                 URL: https://issues.apache.org/jira/browse/PIG-3010
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Jonathan Coveney
>            Assignee: Jonathan Coveney
>             Fix For: 0.12
>
>         Attachments: PIG-3010-0.patch, PIG-3010-1.patch, 
> PIG-3010-2_nowhitespace.patch, PIG-3010-2.patch, PIG-3010-3_nows.patch, 
> PIG-3010-3.patch, PIG-3010-4_nows.patch, PIG-3010-4.patch
>
>
> This is something I thought would be cool for a while, so I sat down and did 
> it because I think there are some useful debugging tools it'd help with.
> The idea is that if you attach an annotation to a UDF, the Tuple or DataBag 
> you output will be flattened. This is quite powerful. A very common pattern 
> is:
> a = foreach data generate Flatten(MyUdf(thing)) as (a,b,c);
> This would let you just do:
> a = foreach data generate MyUdf(thing);
> With the exact same result!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to