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

Enhanced sort join produces duplicate results

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 8.8, 8.7.1
    • 8.4
    • Query Engine
    • None

    Description

      In a plan where an enhanced sort join chooses to create an index on a child that should be SORT_DISTINCT, the distinct processing does not occur.

      For example this would occur with a query such as:

      select a.e1, b.e2 from pm1.g1 as a, (select e1, e2 from pm2.g2 union select e1, e2 from pm2.g2) as b where a.e1 = b.e1

      where the source does not support union.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: