[teiid-issues] [JBoss JIRA] (TEIID-2094) Projecting node issue

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Sun Jul 8 08:24:12 EDT 2012


     [ https://issues.jboss.org/browse/TEIID-2094?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Hawkins resolved TEIID-2094.
-----------------------------------

    Resolution: Done


Resolved by adding a pass-through SourceNode for non-Project/non-select into situations.  See the TestDependentJoins.testDependentView for a scenario that places a select node under the source.

Will look at refining to not need a new node type, however the initial fix is the most localized/appropriate to be back-ported.
                
> Projecting node issue
> ---------------------
>
>                 Key: TEIID-2094
>                 URL: https://issues.jboss.org/browse/TEIID-2094
>             Project: Teiid
>          Issue Type: Bug
>          Components: Query Engine
>    Affects Versions: 6.0.0
>            Reporter: Steven Hawkins
>            Assignee: Steven Hawkins
>            Priority: Critical
>             Fix For: 8.1
>
>
> If a non-pushed source node (inline view) is located over a projecting node (windowfunctionproject, join, group, or a select node) the resulting construction of the projection/projection indexes will be incorrect or fail - as the input elements will not match the output elements that have been set to the views elements.
> Note that not all nodes should be the first child under a source.  For example, join/group should not appear there (typically it will be one of project/windowfunctionproject/limit/sort/unionall/select).  Other child nodes besides windowfunctionproject/select could have issues, since we are not specifically coding to use a different set of output vs. original elements such as with ProjectNode that holds elements and selectSymbols respectively.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the teiid-issues mailing list