[teiid-issues] [JBoss JIRA] (TEIID-5556) Re-resolving a query with common tables breaks projection minimization

Steven Hawkins (Jira) issues at jboss.org
Fri Nov 30 15:37:00 EST 2018


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

Steven Hawkins resolved TEIID-5556.
-----------------------------------
    Resolution: Done


Updated the resolving logic to reuse the id if already resolved.

> Re-resolving a query with common tables breaks projection minimization
> ----------------------------------------------------------------------
>
>                 Key: TEIID-5556
>                 URL: https://issues.jboss.org/browse/TEIID-5556
>             Project: Teiid
>          Issue Type: Bug
>          Components: Query Engine
>            Reporter: Steven Hawkins
>            Assignee: Steven Hawkins
>            Priority: Major
>             Fix For: 12.0
>
>
> While I don't see a case where this would happen in practice we should guard against it.
> The issue is that we create a new temp group for the with clause, but then reuse the old metadata ids where referenced.  The projection logic works off of equality, so it needs the references to be updated or the original to stay in use.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the teiid-issues mailing list