[
https://issues.jboss.org/browse/TEIID-1822?page=com.atlassian.jira.plugin...
]
Steven Hawkins commented on TEIID-1822:
---------------------------------------
At what scope is this happening? If these are user queries it seems like you should be
using a session temp table. Temp tables support primary key indexes. The only thing
missing is the ability to issue an alter to add an arbitrary index.
Dynamically Defined Materialized Views
--------------------------------------
Key: TEIID-1822
URL:
https://issues.jboss.org/browse/TEIID-1822
Project: Teiid
Issue Type: Feature Request
Reporter: Mark Addleman
Assignee: Steven Hawkins
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'
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira