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

with clause used by subquery repeated in the subquery

XMLWordPrintable

      A query such as:

      with eee as (select * from pm1.g1) select * from pm1.g2 where pm1.g2.e1 in (select e1 from eee)

      will result in a push down that repeats the with clause in the subquery:

      ... (with eee ... select e1 from eee)

      It is sufficient to rely on the parent to define the common table.

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

                Created:
                Updated:
                Resolved: