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

Common table expressions are not pre-evaluated

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 8.7.1, 8.9
    • 8.4
    • Query Engine
    • None

    Description

      With sql such as:

          with test as (  
                select CURDATE() as startDate  
                  from schema.table)  
          select startDate from test  
      

      The curdate function will be pushed to the source regardless of whether it is supported. It should be pre-evaluated prior to pushdown.

      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: