[
https://issues.jboss.org/browse/TEIIDDES-3095?page=com.atlassian.jira.plu...
]
Van Halbert commented on TEIIDDES-3095:
---------------------------------------
The materialize settings for the new view will be different. An example xml based
materialization is below:
{code}
CREATE VIEW Stock (
product_id integer,
symbol string,
price double,
company_name string) OPTIONS (MATERIALIZED 'TRUE', UPDATABLE 'TRUE',
MATERIALIZED_TABLE 'StockJDGSource.StockCache',
"teiid_rel:MATERIALIZED_STAGE_TABLE" 'StockJDGSource.ST_StockCache',
"teiid_rel:ALLOW_MATVIEW_MANAGEMENT" 'TRUE',
"teiid_rel:MATVIEW_BEFORE_LOAD_SCRIPT" 'execute
StockJDGSource.native(''truncate StockJDGSource.ST_StockCache'');',
"teiid_rel:MATVIEW_AFTER_LOAD_SCRIPT" 'execute
StockJDGSource.native(''rename StockJDGSource.ST_StockCache
StockJDGSource.StockCache'');',
"teiid_rel:MATVIEW_STATUS_TABLE" 'Accounts.status',
"teiid_rel:MATVIEW_TTL" 10000,
"teiid_rel:MATVIEW_ONERROR_ACTION" 'WAIT')
AS
SELECT
Stocks.Stock.product_id, Stocks.Stock.symbol, CAST(Stocks.Stock.price AS double) AS
price, Stocks.Stock.company_name
FROM
Stocks.Stock;
{code}
When view is selected to be materialized, can the user choose which
extension properties to use
-----------------------------------------------------------------------------------------------
Key: TEIIDDES-3095
URL:
https://issues.jboss.org/browse/TEIIDDES-3095
Project: Teiid Designer
Issue Type: Enhancement
Components: Modeling
Affects Versions: 11.1
Reporter: Van Halbert
Assignee: Barry LaFond
Fix For: 11.0.2
With the support of the new infinispan-hotrod (JDG 7.1) translator that will be used,
there is a different extension properties to be used. And when the user selects a view
to be materialized, can an option be added to the first panel (which shows the source and
target models) that allows the user to select which extension properties to use? And if
they choose the option for JDG 7.1, then no need to goto next panel (create pojo).
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)