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

Pradeep Kamath updated PIG-775:
-------------------------------

    Attachment: PIG-775.patch

Attached patch with changes suggested in the description of the issue. The 
patch also has unit test cases. 

> PORelationToExprProject should create a NonSpillableDataBag to create empty 
> bags
> --------------------------------------------------------------------------------
>
>                 Key: PIG-775
>                 URL: https://issues.apache.org/jira/browse/PIG-775
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.2.0
>            Reporter: Pradeep Kamath
>            Assignee: Pradeep Kamath
>            Priority: Minor
>             Fix For: 0.3.0
>
>         Attachments: PIG-775.patch
>
>
> PORelationToExprProject currently uses "BagFactory.newDefaultBag()" to create 
> an empty bag in cases where it has to send an empty bag on EOP - each such 
> empty bag created will be registered with the SpillableMemoryManager as a 
> spillable bag. Since it is an empty bag, it really should not be registered 
> as a spillable bag. For this, NonSpillableDataBag can be used.

-- 
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