[
https://issues.redhat.com/browse/TEIIDSB-170?page=com.atlassian.jira.plug...
]
Steven Hawkins commented on TEIIDSB-170:
----------------------------------------
It is not the target name, it is internal cache name inside the
cluster I am after, target name is defined on the View, cacheName defined on the
Infinispan's foreign table's options.
You are differentiating between the teiid fqn for the materialization source target table
and the name in source for the target table. Since you are generating only a single
materialization schema that is hitting the same materialization target for the whole vdb -
these are nearly identical. The teiid fqn is just qualified by the materialization schema
name. In any case I'm not saying that it has to exactly be the materialization target
property - it can be something else that conveys it's a base name for automation,
which will at least be augmented by the "deployment number".
sigh, I am not questioning if that can be done or not it is a model
of execution. I would need to design a whole new process which may not be efficient at
all, one good thing with the model is I can validate the DDL at the start and stop
progress if DDL is invalid.
In other posts I believe you've advocated for not worrying about the efficiency of the
operator, which makes sense given that the build will far out way anything that we're
doing otherwise. So if there are other benefits, why worry about efficiency for just
this?
If you are saying older user's DDL fits to that paradigm then I
am saying we should not make that as the decision to choose alternatives designs to
accommodate it just yet.
Why lock in to any legacy decisions with regards to DDL structure into the operator?
Especially if there is a danger that this will get forked for standalone lsp efforts.
What you think about ignoring all this just going by the just the
cache prefix?
Can you elaborate what that means? You're trying to based upon the ddl assign cache
names that will be associated to views - which could be a combination of vdb, schema, view
name, deployment number - how does a prefix come into play?
Automate materialization to JDG
-------------------------------
Key: TEIIDSB-170
URL:
https://issues.redhat.com/browse/TEIIDSB-170
Project: Teiid Spring Boot
Issue Type: Enhancement
Components: OpenShift
Reporter: Steven Hawkins
Assignee: Ramesh Reddy
Priority: Major
Fix For: 1.5.0
Original Estimate: 1 week
Time Spent: 1 week, 3 days, 2 hours
Remaining Estimate: 0 minutes
Create an internal materialization replacement needs that is turnkey materialization to
JDG (little to no user setup required)
- the operator may create the infinispan cluster if needed
- the status table and internal representation of the materialization target would be
setup automatically
For the user this would be as simple marking a view as materialized and then it would be
populated in jdg upon deployment. They would not have any concerns with cache naming,
status tables, etc.
For simplicity the initial version would make a similar assumption to the current
internal logic - it is for only a specific vdb. If the vdb cr is modified, then it's
expected that the cache would be recreated.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)