[
https://issues.jboss.org/browse/TEIID-2584?page=com.atlassian.jira.plugin...
]
Ramesh Reddy commented on TEIID-2584:
-------------------------------------
Do you mean you want to write this as a system procedure? I think
that could work, but it wouldn't currently give you control of connections. At the
least you'd want to use BEGIN ATOMIC
I was thinking write "SYSADMIN" procedure so that we track them admin
procedures, but opting to put them in the same schema as the view is. I thought I could
use "DYNAMIC SQL" for managing, but realized I need to use procedure language.
So, I am adding them as normal virtual procedures. I also changed "load"
procedure such that it returns TABLE, which is nothing but loaded materialized view, then
I can simply run this procedure to load (if needed) then select the rows needed.
Are you envisioning a status table on each source per vdb, or a single
status table for all of teiid? Each has considerations for table/entry naming/versioning.
By allowing user to define where the status table as the metadata, I left the decision
back on to user. It is expectation that they use single copy of it. If used by user, Teiid
documentation will provide the table structure that user need to create. (or tooling will
fill this gap). What are naming/versioning I should be concerned about?
I am also thinking, if "load" procedure already exists in the schema, the
override "load" method should not be generated.
Are you suggesting that the scripts execute as dynamic sql or against
the source native procedure?
native procedures, but expectation is user is wrapping them in the "native"
procedure to begin with, such that "load" method is just pre-canned template
just replaces the values.
One thing I am struck is, how I could execute this non-blocking manner?
Add management features to materialization
------------------------------------------
Key: TEIID-2584
URL:
https://issues.jboss.org/browse/TEIID-2584
Project: Teiid
Issue Type: Feature Request
Reporter: Ramesh Reddy
Assignee: Ramesh Reddy
Fix For: 8.5
Currently Teiid supports internal and external materialization features. The internal is
managed completely by the Teiid query engine along with the infinispan cache.
External materialization is completely unmanaged and left out to the user to manage it
externally. This goals for this feature are unify the materialization logic for internal
and external, such that both are managed similarly irrespective of the type of
materialization chosen.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira