[JBoss JIRA] Closed: (TEIID-607) Connectors with invalid connection properties should show Source Unavailable at startup
by Steven Hawkins (JIRA)
[ https://jira.jboss.org/jira/browse/TEIID-607?page=com.atlassian.jira.plug... ]
Steven Hawkins closed TEIID-607.
--------------------------------
> Connectors with invalid connection properties should show Source Unavailable at startup
> ---------------------------------------------------------------------------------------
>
> Key: TEIID-607
> URL: https://jira.jboss.org/jira/browse/TEIID-607
> Project: Teiid
> Issue Type: Bug
> Components: Server
> Affects Versions: 6.0.0
> Environment: MMServer: Fedora 8 Kernel 2.6.26.6-49.fc8
> Connector: Oracle JDBC Connector
> Reporter: Larry O'Leary
> Fix For: 6.2.0
>
> Original Estimate: 1 hour
> Remaining Estimate: 1 hour
>
> If invalid connection properties are used in a connector binding the connector status shows "Running" at startup of the connector. When the first query is executed against the MMSystem that needs this connector an exception is thrown indicating that the connector wasn't found. This is due to the connector state changing to "Data Source Unavailable".
> Although this is the expected behavior it is very mis-leading to the administrator after creating/adding a new connector or bouncing the system. The MMConsole gives the appearance that everything is okay until users actually start running queries.
> What should be occurring is the current behavior and if Data Source Monitoring is enabled on the connector we should then check the data source available during connector startup. In other words, start the monitor thread with a timer of 0 instead a timer of monitoring interval. The idea is to show the connector as "Data Source Unavailable" at connector startup if the source isn't can't be reached due to invalid connection properties.
> TEST:
> To test this issue you simply need to have a connector deployed to a running MMSystem and verify that it is actually starting correctly with correct properties (ie verify you can run queries using this connector).
> Now, change the password on the connector to something that is invalid. Stop and then start the connector. The connector will show a "Running" state yet as soon as you execute the query the query will fail and the status of the connector will change to "Source Unavailable".
> EXPECTED RESULT:
> When you start a connector using an invalid password (or other connection type property like SID, DatabaseName, etc) the connector state should immediately reflect "Data Source Unavailable".
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 6 months
[JBoss JIRA] Resolved: (TEIID-165) Connector support for more converts
by Steven Hawkins (JIRA)
[ https://jira.jboss.org/jira/browse/TEIID-165?page=com.atlassian.jira.plug... ]
Steven Hawkins resolved TEIID-165.
----------------------------------
Resolution: Won't Fix
It is unlikely that there would be any benefit in supporting the pushdown of string to clob or even sting to xml. If the conversion is being performed in the top level projection, it's just as easy for Teiid to apply the transformation. Also the client can fetch the results as clob or xml even if the value is a string. Marking as won't fix.
> Connector support for more converts
> -----------------------------------
>
> Key: TEIID-165
> URL: https://jira.jboss.org/jira/browse/TEIID-165
> Project: Teiid
> Issue Type: Feature Request
> Components: Misc. Connectors
> Affects Versions: 7.x
> Reporter: Steven Hawkins
> Priority: Optional
> Fix For: 6.3.0
>
>
> Defect Tracker #24822: Connector support for more converts (from object, clob, xml). Query changes are needed to remove the check from CapabilitiesUtil that is preventing the push down. Additionally defect 15144 should be worked.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 6 months
[JBoss JIRA] Updated: (TEIID-181) Allow connectors to request replanning of source query by throwing an exception
by Steven Hawkins (JIRA)
[ https://jira.jboss.org/jira/browse/TEIID-181?page=com.atlassian.jira.plug... ]
Steven Hawkins updated TEIID-181:
---------------------------------
Fix Version/s: (was: 7.0)
Changing back to an unassigned fix version. Unless we intend to move more fully down the path of SQL MED, then we'll probably just reject this issue for now.
> Allow connectors to request replanning of source query by throwing an exception
> -------------------------------------------------------------------------------
>
> Key: TEIID-181
> URL: https://jira.jboss.org/jira/browse/TEIID-181
> Project: Teiid
> Issue Type: Feature Request
> Components: Connector API, Query Engine
> Reporter: Greg Haber
> Assignee: Steven Hawkins
> Priority: Minor
>
> In FEDERATE-126 more granular connector capabilities were requested, for supporting sources that don't follow traditional relational capability patterns (especially SFDC).
> The level of effort for such a request is presumably fairly high for the DQP component, since it needs to have additional logic added to understand the new capability and to modify the planning process to take them into account.
> It occurred to me that a general purpose backup mechanism would be for connectors to have the ability after getting a query they couldn't handle, to throw a new type of exception (perhaps ReplanRequestException), which would contain information about what connector capabilities should be excluded from the replanning process. Then the planner would come up with a new plan, and make new source query/queries based off that new plan.
> For example take the case of SFDC, which handles outer joins (left or right, but not full) but not inner joins (and for the sake of argument say that FEDERATE-126 and FEDERATE-114 were not implemented). The SFDC connector gets sent a query with an inner join. It then throws an exception requesting a replan, this time with no join pushdown. Then the planner replans this as without join pushdown, and resubmits the query (or in many cases multiple queries).
> Now, one big question here is, does replanning mean replanning the entire federated query, or just redoing that one source query? The former would give a more efficient overall plan, but it may be too late to do this (other connectors may already be at work). For the former to work, I would think we would need to have an additional step in the connector framework to run the proposed query plan by all the connectors before actually executing anything, which would be additional overhead on all queries, not the small subset for which this problem exists. So maybe the latter (redoing that one source query) is the only reasonable alternative.
> A workaround with similar results is FEDERATE-114 style stuff (tell the consumer what was wrong, and ask them to override connector capabilities in a new query. But that has the same general inefficiency of an automatic replanning of the entire federated query. So it would not be as nice as replanning just one source query.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 6 months
[JBoss JIRA] Updated: (TEIID-181) Allow connectors to request replanning of source query by throwing an exception
by Ramesh Reddy (JIRA)
[ https://jira.jboss.org/jira/browse/TEIID-181?page=com.atlassian.jira.plug... ]
Ramesh Reddy updated TEIID-181:
-------------------------------
Fix Version/s: 7.0
> Allow connectors to request replanning of source query by throwing an exception
> -------------------------------------------------------------------------------
>
> Key: TEIID-181
> URL: https://jira.jboss.org/jira/browse/TEIID-181
> Project: Teiid
> Issue Type: Feature Request
> Components: Connector API, Query Engine
> Reporter: Greg Haber
> Assignee: Steven Hawkins
> Priority: Minor
> Fix For: 7.0
>
>
> In FEDERATE-126 more granular connector capabilities were requested, for supporting sources that don't follow traditional relational capability patterns (especially SFDC).
> The level of effort for such a request is presumably fairly high for the DQP component, since it needs to have additional logic added to understand the new capability and to modify the planning process to take them into account.
> It occurred to me that a general purpose backup mechanism would be for connectors to have the ability after getting a query they couldn't handle, to throw a new type of exception (perhaps ReplanRequestException), which would contain information about what connector capabilities should be excluded from the replanning process. Then the planner would come up with a new plan, and make new source query/queries based off that new plan.
> For example take the case of SFDC, which handles outer joins (left or right, but not full) but not inner joins (and for the sake of argument say that FEDERATE-126 and FEDERATE-114 were not implemented). The SFDC connector gets sent a query with an inner join. It then throws an exception requesting a replan, this time with no join pushdown. Then the planner replans this as without join pushdown, and resubmits the query (or in many cases multiple queries).
> Now, one big question here is, does replanning mean replanning the entire federated query, or just redoing that one source query? The former would give a more efficient overall plan, but it may be too late to do this (other connectors may already be at work). For the former to work, I would think we would need to have an additional step in the connector framework to run the proposed query plan by all the connectors before actually executing anything, which would be additional overhead on all queries, not the small subset for which this problem exists. So maybe the latter (redoing that one source query) is the only reasonable alternative.
> A workaround with similar results is FEDERATE-114 style stuff (tell the consumer what was wrong, and ask them to override connector capabilities in a new query. But that has the same general inefficiency of an automatic replanning of the entire federated query. So it would not be as nice as replanning just one source query.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 6 months