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

UNION pushdown

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.7.1, 8.0
    • 7.7
    • Query Engine
    • None

      I have SQL of the form
      SELECT a FROM (
      SELECT a FROM ds.t1 UNION
      SELECT a FROM ds.t2
      ) t

      The execution factory extends JDBCExecutionFactory and supports everything except row offset. It appears that the two unioned SELECTs are being executed as separate statements rather than the entire unioned set being pushed down to the datasource.

      Attached is plan

        1. plan.txt
          128 kB
          Mark Addleman
        2. plan.txt
          125 kB
          Mark Addleman

            rhn-engineering-shawkins Steven Hawkins
            markaddleman_jira Mark Addleman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: