[
https://issues.apache.org/jira/browse/OPTIQ-332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14053243#comment-14053243
]
Jacques Nadeau commented on OPTIQ-332:
--------------------------------------
I don't have a simplified one. The problem is really in CalcRel. If you look
here:
https://github.com/apache/incubator-optiq/blob/master/core/src/main/java/org/eigenbase/rel/CalcRel.java#L168
You see that we return the child of a project rather than generating a trivial
project.
You can see my proposed changes here:
https://github.com/apache/incubator-optiq/pull/3
> Fix PushProjector so that it doesn't try cast its output to ProjectRel
> ----------------------------------------------------------------------
>
> Key: OPTIQ-332
> URL: https://issues.apache.org/jira/browse/OPTIQ-332
> Project: Optiq
> Issue Type: Bug
> Reporter: Jacques Nadeau
> Assignee: Jacques Nadeau
>
> In some cases, the project becomes trivial and thus push projector returns
> the child rel (which could be any type of RelNode)
--
This message was sent by Atlassian JIRA
(v6.2#6252)