[JBoss JIRA] (TEIID-2411) Add schema name to metadata validation messages
by Ramesh Reddy (JIRA)
[ https://issues.jboss.org/browse/TEIID-2411?page=com.atlassian.jira.plugin... ]
Ramesh Reddy resolved TEIID-2411.
---------------------------------
Labels: CR1 (was: )
Resolution: Done
Took SteveH suggestion and replaced all the occurrences with getFullName on all the meatadata validation log messages.
> Add schema name to metadata validation messages
> -----------------------------------------------
>
> Key: TEIID-2411
> URL: https://issues.jboss.org/browse/TEIID-2411
> Project: Teiid
> Issue Type: Enhancement
> Components: Query Engine
> Affects Versions: 8.2
> Reporter: Paul Lysak
> Assignee: Ramesh Reddy
> Labels: CR1
> Fix For: 8.3
>
>
> Currently metadata validation messages don't contain schema name, so when working with lot of schemas it may be difficult to find out problematic element. For example, if table SOME_TABLE has no columns then
> org.teiid.query.metadata.MetadataValidator.MinimalMetadata.execute() will log following error message:
> TEIID31071 Invalid table; Table SOME_TABLE has no columns defined
> And there's no ability to detect later to which schema problematic table belongs.
> I suggest to append schema name - either by simple concatenation in MetadataValidator.java:
> metadataValidator.log(report, model, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID31071, scmena.getName()+"."+t.getName()));
> or by changing message bundle i18n.properties:
> TEIID31071=Invalid table; Table {0}.{1} has no columns defined
> and providing message parameters in MetadataValidator.java:
> metadataValidator.log(report, model, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID31071, scmena.getName(), t.getName()));
> There are also another validation messages in MetadataValidator.java which could be improved in similar way.
--
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, 10 months
[JBoss JIRA] (TEIID-2409) To add execution id into data src command_log
by Ramesh Reddy (JIRA)
[ https://issues.jboss.org/browse/TEIID-2409?page=com.atlassian.jira.plugin... ]
Ramesh Reddy updated TEIID-2409:
--------------------------------
Issue Type: Enhancement (was: Feature Request)
Assignee: Ramesh Reddy (was: Steven Hawkins)
Fix Version/s: 8.3
Priority: Trivial (was: Major)
Complexity: Low
I am going to append the executionID to the sourceCommandID to fix the issue.
> To add execution id into data src command_log
> ---------------------------------------------
>
> Key: TEIID-2409
> URL: https://issues.jboss.org/browse/TEIID-2409
> Project: Teiid
> Issue Type: Enhancement
> Affects Versions: 8.2
> Reporter: Jack Ma
> Assignee: Ramesh Reddy
> Priority: Trivial
> Fix For: 8.3
>
>
> When we try to analyze the command_log, for some user query, it push multiple data source queries to same data source, in this case, both request id and source command id are same, so it is impossible to pair those data source queries from the command_log (please see discussion: https://community.jboss.org/message/799183#799183). Adding the execution id into the data source command_log should make following combination key unique (request id + source command id + execution id)
--
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, 10 months
[JBoss JIRA] (TEIID-196) Support creation of temp tables on physical sources.
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-196?page=com.atlassian.jira.plugin.... ]
Steven Hawkins resolved TEIID-196.
----------------------------------
Resolution: Done
Updated the reference guide for the permissions and syntax to create a foreign temporary table. The initial implementation does not have any pushdown side-effects (there is no source action on create/drop).
Any ease of use features as an internal temporary table replacement can be addressed later.
> Support creation of temp tables on physical sources.
> ----------------------------------------------------
>
> Key: TEIID-196
> URL: https://issues.jboss.org/browse/TEIID-196
> Project: Teiid
> Issue Type: Feature Request
> Components: Connector API, Query Engine
> Affects Versions: 6.0.0
> Reporter: Ken Johnson
> Assignee: Steven Hawkins
> Fix For: 8.3
>
>
> This is a multi-part request.
> First, the system should support creation of temporary tables using a physical backing store rather than buffer manger. Given multi-pass SQL's heavy use of temp tables, buffer manager can easily be overloaded with large interim results stored in temp tables.
> Second, this should be a user-configurable behavior. For example, user might be able to choose a system-level or session-level default from among:
> -- memory/cache
> -- a source represented by a connector binding
> -- a distinct temp source defined with it's own connection parameters (possibly another schema in the repository DB instance)
> Ideally default selectoin should be override-able at temp table creation time through a DDL extension
> In the case where multiple temp tables have been created on a source via connector, the query planner should recognize this and leverage pushdown to the temp store when later query passes access multiple temp tables.
--
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, 10 months
[JBoss JIRA] (TEIID-2411) Add schema name to metadata validation messages
by Ramesh Reddy (JIRA)
[ https://issues.jboss.org/browse/TEIID-2411?page=com.atlassian.jira.plugin... ]
Ramesh Reddy updated TEIID-2411:
--------------------------------
Assignee: Ramesh Reddy (was: Steven Hawkins)
Fix Version/s: 8.3
Complexity: Low
> Add schema name to metadata validation messages
> -----------------------------------------------
>
> Key: TEIID-2411
> URL: https://issues.jboss.org/browse/TEIID-2411
> Project: Teiid
> Issue Type: Enhancement
> Components: Query Engine
> Affects Versions: 8.2
> Reporter: Paul Lysak
> Assignee: Ramesh Reddy
> Fix For: 8.3
>
>
> Currently metadata validation messages don't contain schema name, so when working with lot of schemas it may be difficult to find out problematic element. For example, if table SOME_TABLE has no columns then
> org.teiid.query.metadata.MetadataValidator.MinimalMetadata.execute() will log following error message:
> TEIID31071 Invalid table; Table SOME_TABLE has no columns defined
> And there's no ability to detect later to which schema problematic table belongs.
> I suggest to append schema name - either by simple concatenation in MetadataValidator.java:
> metadataValidator.log(report, model, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID31071, scmena.getName()+"."+t.getName()));
> or by changing message bundle i18n.properties:
> TEIID31071=Invalid table; Table {0}.{1} has no columns defined
> and providing message parameters in MetadataValidator.java:
> metadataValidator.log(report, model, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID31071, scmena.getName(), t.getName()));
> There are also another validation messages in MetadataValidator.java which could be improved in similar way.
--
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, 10 months
[JBoss JIRA] (TEIID-2411) Add schema name to metadata validation messages
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-2411?page=com.atlassian.jira.plugin... ]
Steven Hawkins commented on TEIID-2411:
---------------------------------------
Actually those calls should just be using the getFullName method (which does include the schema) instead of getName.
> Add schema name to metadata validation messages
> -----------------------------------------------
>
> Key: TEIID-2411
> URL: https://issues.jboss.org/browse/TEIID-2411
> Project: Teiid
> Issue Type: Enhancement
> Components: Query Engine
> Affects Versions: 8.2
> Reporter: Paul Lysak
> Assignee: Steven Hawkins
>
> Currently metadata validation messages don't contain schema name, so when working with lot of schemas it may be difficult to find out problematic element. For example, if table SOME_TABLE has no columns then
> org.teiid.query.metadata.MetadataValidator.MinimalMetadata.execute() will log following error message:
> TEIID31071 Invalid table; Table SOME_TABLE has no columns defined
> And there's no ability to detect later to which schema problematic table belongs.
> I suggest to append schema name - either by simple concatenation in MetadataValidator.java:
> metadataValidator.log(report, model, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID31071, scmena.getName()+"."+t.getName()));
> or by changing message bundle i18n.properties:
> TEIID31071=Invalid table; Table {0}.{1} has no columns defined
> and providing message parameters in MetadataValidator.java:
> metadataValidator.log(report, model, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID31071, scmena.getName(), t.getName()));
> There are also another validation messages in MetadataValidator.java which could be improved in similar way.
--
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, 10 months