]
Steven Hawkins commented on TEIIDDES-3010:
------------------------------------------
Yes, that is heading in the right direction. And somehow having a more concise/specific
display of the materialization properties can be added in as well.
Add feature to provide adding After Triggers to materialized
views/tables
-------------------------------------------------------------------------
Key: TEIIDDES-3010
URL:
https://issues.jboss.org/browse/TEIIDDES-3010
Project: Teiid Designer
Issue Type: Enhancement
Reporter: Steven Hawkins
Assignee: Barry LaFond
Priority: Blocker
Fix For: 12.0
Attachments: Sample Materialization Editor Page.bmml, Sample Materialization
Editor Page.png, teditor-toolbar.png
TEIID-4627 adds support for source level triggers to be called after CDC events.
The triggers are similar to what is supported by views, but "INSTEAD OF" is not
supported - just AFTER.
CREATE TRIGGER name ON table AFTER (INSERT|UPDATE|DELETE) FOR EACH ROW statement
Just like view triggers new/old/changing values can be referenced. Note that unlike view
triggers, these must be named as an arbitrary number of them are supported per table (like
other of our constructs they are scoped to the table, not to the schema).
We may eventually want to support multiple event types for a single trigger and may need
to support internal events as well.