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

Pushdown LIMIT in cross product joins

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Minor
    • 8.3
    • None
    • Query Engine
    • None

    Description

      Pushdown LIMIT clause in cross product joins. Queries of form

      SELECT t1.a FROM t1, t2 LIMIT 10

      Produce a plan like this:

      LIMIT 10

      CROSS JOIN

      Access: SELECT t1.a FROM t1 LIMIT 10

      Access: SELECT 1 FROM t2 LIMIT 10

      See https://community.jboss.org/thread/220834?tstart=0 for a little more detail

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: