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

Dynamically Defined Materialized Views

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Won't Do
    • Major
    • None
    • None
    • None
    • None

    Description

      I'd like to be able to query a dynamically defined materialized view. For example, suppose I issue the query
      /* mat-view */ SELECT * FROM blah WHERE x='abc'

      Optionally (probably based on a hint), I'd like the following query to execute against the data set returned by the previous query rather than going back to the data source:
      /* use-mat-view */ SELECT * FROM (SELECT * FROM blah WHERE x='abc') GROUP BY a

      To make this truly useful, I'd like to define indexes. Something like:
      /* mat-view(index-on:a,b,c) */ SELECT * FROM blah WHERE x='abc'

      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: