Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-5556

Re-resolving a query with common tables breaks projection minimization

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 12.0
    • None
    • Query Engine
    • None

      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.

            rhn-engineering-shawkins Steven Hawkins
            rhn-engineering-shawkins Steven Hawkins
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: