Rakesh Setty commented on PIG-802:

I thought about having a POPackageLite instance as a parameter in the 
constructor of ReadOnceBag, but I thought it will make ReadOnceBag tied down to 
be very specific to POPackageLite and so it cannot be generic. So the choice we 
have to make I think is whether we want ReadOnceBag to be as generic as 
possible or we want to avoid duplicate code. What do you suggest?

> PERFORMANCE: not creating bags for ORDER BY
> -------------------------------------------
>                 Key: PIG-802
>                 URL: https://issues.apache.org/jira/browse/PIG-802
>             Project: Pig
>          Issue Type: Improvement
>    Affects Versions: 0.2.0
>            Reporter: Olga Natkovich
>         Attachments: OrderByOptimization.patch
> Order by should be changed to not use POPackage to put all of the tuples in a 
> bag on the reduce side, as the bag is just immediately flattened. It can 
> instead work like join does for the last input in the join. 

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