[JBoss JIRA] (TEIID-2629) Message for missing translator needs improvement
by Steven Hawkins (JIRA)
Steven Hawkins created TEIID-2629:
-------------------------------------
Summary: Message for missing translator needs improvement
Key: TEIID-2629
URL: https://issues.jboss.org/browse/TEIID-2629
Project: Teiid
Issue Type: Quality Risk
Components: Query Engine, Server
Affects Versions: 8.3
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 8.4.1, 8.5
If a vdb references a non-existent translator type our message is not helpful - in embedded the exception message is the translator name and in the server we mention the vdb.
--
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
11 years, 4 months
[JBoss JIRA] (TEIID-2584) Add management features to materialization
by Ramesh Reddy (JIRA)
[ https://issues.jboss.org/browse/TEIID-2584?page=com.atlassian.jira.plugin... ]
Ramesh Reddy commented on TEIID-2584:
-------------------------------------
Nice, I did not think about using the system tables. I will re-work and submit another patch.
> 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
11 years, 4 months
[JBoss JIRA] (TEIID-2584) Add management features to materialization
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-2584?page=com.atlassian.jira.plugin... ]
Steven Hawkins commented on TEIID-2584:
---------------------------------------
> 1) Currently both SYS and SYSADMIN are both categorized as "SOURCE" schemas, should I add another at "VIRTUAL" schema for this purpose?
No that don't matter. A view in a source schema is still processed as a view.
> 2) How can I look up metadata inside the virtual procedure?
You have to lookup the oid, then lookup the property by name:
{code}
declare string uid = (select uid from sys.tables where schemaName = ... and name = ...);
declare string propValue = (select "value" from sys.properties where sys.uid = variables.uid and name = ... );
{code}
> I will rewrite using "merge"
currently our merge won't work as you can't differentiate between an updated/inserted row.
> 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
11 years, 4 months
[JBoss JIRA] (TEIID-2584) Add management features to materialization
by Ramesh Reddy (JIRA)
[ https://issues.jboss.org/browse/TEIID-2584?page=com.atlassian.jira.plugin... ]
Ramesh Reddy commented on TEIID-2584:
-------------------------------------
>You could use a single system procedure with dynamic sql by passing in just the fully qualified name (probably in parts) and then use system lookups for the metadata.
Two questions on this (the reason why I went current route)
1) Currently both SYS and SYSADMIN are both categorized as "SOURCE" schemas, should I add another at "VIRTUAL" schema for this purpose?
2) How can I look up metadata inside the virtual procedure?
To execute as system procedure in SYSADMIN, I could not fold all the needed statements like truncate/load/swap into single statement.
I will rewrite using "merge". Also, since these are async loads I was not concerned about the performance hit.
> 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
11 years, 4 months