[
https://issues.jboss.org/browse/TEIID-5556?page=com.atlassian.jira.plugin...
]
Steven Hawkins updated TEIID-5556:
----------------------------------
Description:
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.
was:While I don't see a case where this would happen in practice we should guard
against it.
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)