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

Non-pushed subquery may have evaluatable predicates not pushed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 11.1, 12.0, 11.2.1
    • None
    • Query Engine
    • None

      For example, a source that does not support lower nor correlated subqueries and a query like:

      SELECT array_agg((select intkey from bqt1.smallb where stringkey = lower(a.stringkey))) from bqt1.smalla a

      will not push stringkey = lower(a.stringkey) to the n-many subquery, even though it can be pre-evaluated with the correlated value.

              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: