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

Julian Hyde resolved OPTIQ-404.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 0.9.1-incubating

Fixed in http://git-wip-us.apache.org/repos/asf/incubator-optiq/commit/6fbefcec.

> MergeProjectRule should not construct RexPrograms for simple mappings
> ---------------------------------------------------------------------
>
>                 Key: OPTIQ-404
>                 URL: https://issues.apache.org/jira/browse/OPTIQ-404
>             Project: Optiq
>          Issue Type: Bug
>            Reporter: Julian Hyde
>            Assignee: Julian Hyde
>             Fix For: 0.9.1-incubating
>
>
> MergeProjectRule should not construct RexPrograms when it is dealing with 
> projections that are simple mappings or permutations. It can combine the 
> mappings using less computation and memory.
> Further, if either of the projects is the identity, MergeProjectRule should 
> do nothing; it should let RemoveTrivialProjectRule deal with it.
> This should reduce the amount of memory required for complex planning, in 
> particular when there are large joins and many calls to SwapJoinRule.  
> OPTIQ-62 is a better but more complex solution to the same issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to