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

Zhijie Shen commented on PIG-2163:
----------------------------------

sorry, I tought this issue again, and found I was wrong. The memory for one bag 
is savable. 

Whenever a new tuple of the first relation is ejected, iterate all the 
combinations of the tuples in the other n-1relationship.

> Improve nested cross to stream one relation
> -------------------------------------------
>
>                 Key: PIG-2163
>                 URL: https://issues.apache.org/jira/browse/PIG-2163
>             Project: Pig
>          Issue Type: Improvement
>          Components: impl
>    Affects Versions: 0.10
>            Reporter: Daniel Dai
>            Assignee: Zhijie Shen
>             Fix For: 0.10
>
>
> PIG-1916 added nested cross support for PIG. One optimization is instead of 
> materialize all bags before producing result, we can stream one of the input 
> to save on memory.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to