[JBoss JIRA] Closed: (TEIID-152) New SQL directive OPTION NOJOINPUSHDOWN that tells query planner to not push down any joins
by Steve Hawkins (JIRA)
[ https://jira.jboss.org/browse/TEIID-152?page=com.atlassian.jira.plugin.sy... ]
Steve Hawkins closed TEIID-152.
-------------------------------
> New SQL directive OPTION NOJOINPUSHDOWN that tells query planner to not push down any joins
> -------------------------------------------------------------------------------------------
>
> Key: TEIID-152
> URL: https://jira.jboss.org/browse/TEIID-152
> Project: Teiid
> Issue Type: Feature Request
> Components: Query Engine
> Affects Versions: 8.x
> Reporter: Greg Haber
> Priority: Minor
>
> This capability has been requested by a customer(see I-T ticket 217562). They want us to add in the following functionality:
> -add an OPTION directive (OPTION NOJOINPUSHDOWN) to MetaMatrix SQL that tells the query planner whether or not to attempt to push down joins for a particular query. This would be a general purpose MetaMatrix SQL change. The default would be for our query planner to act as it does today (do join pushdown as allowed by connector capabilities), and the behavior if this OPTION directive was used would be to instead not do any join pushdown for any part of the user query, even if allowed by connector capabilities.
> What this would allow them to do, if JBEDSP-348 is also implemented, is to leverage the limited join capability that SFDC has via its "relationship query" functionality. Because SFDC doesn't have full join capabilities, this would allow them to first try to submit a query against a VDB that uses SFDC as a source and see if the part of the join that the query planner pushes down to SFDC is something that SFDC can actually do. If not, the SFDC connector would throw an error, and the customer would resubmit their query with this OPTION NOJOINPUSHDOWN option.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 6 months
[JBoss JIRA] Created: (TEIID-1128) Invalid Resolver Error
by Ted Jones (JIRA)
Invalid Resolver Error
-----------------------
Key: TEIID-1128
URL: https://jira.jboss.org/browse/TEIID-1128
Project: Teiid
Issue Type: Bug
Components: Query Engine
Reporter: Ted Jones
Assignee: Steve Hawkins
Fix For: 7.0
Getting the following exception executing a stored procedure with a parameter from a web service model:
11:28:24,508 WARN [PROCESSOR] Processing exception 'Error Code:ERR.015.008.0019 Message:Error Code:ERR.015.008.0019 Message:Unable to resolve element: Books_MySql_Output_View.AUTHORS_OutputView.AUTHORS_Output.AUTHORS_Output_Instance.AUTHOR_ID' for request 5A806b3/JTrd.1. Exception type org.teiid.api.exception.query.QueryPlannerException thrown from org.teiid.query.resolver.util.ResolverVisitor.handleUnresolvedElement(ResolverVisitor.java:116).
The element path is valid though and should be resolved.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 6 months
[JBoss JIRA] Created: (TEIID-1109) NPE Connecting to a Teiid DataSource (XA) Without Setting Expected Properties
by Ted Jones (JIRA)
NPE Connecting to a Teiid DataSource (XA) Without Setting Expected Properties
------------------------------------------------------------------------------
Key: TEIID-1109
URL: https://jira.jboss.org/browse/TEIID-1109
Project: Teiid
Issue Type: Bug
Components: JDBC Driver
Reporter: Ted Jones
Assignee: Steve Hawkins
Fix For: 7.0
I created a datasource for a VDB with XA sources underlying. I didn't add any of the required custom properties (server, host, etc) just used the default properties provided by the datasource template. This resulted in the following when I tried to connect:
Caused by: java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:394)
at java.util.Properties.setProperty(Properties.java:143)
at org.teiid.jdbc.BaseDataSource.buildProperties(BaseDataSource.java:194)
at org.teiid.jdbc.TeiidDataSource.buildProperties(TeiidDataSource.java:106)
at org.teiid.jdbc.TeiidDataSource.buildEmbeddedProperties(TeiidDataSource.java:228)
at org.teiid.jdbc.TeiidDataSource.getConnection(TeiidDataSource.java:215)
at org.teiid.jdbc.BaseDataSource$1.createConnection(BaseDataSource.java:340)
at org.teiid.jdbc.XAConnectionImpl.getMMConnection(XAConnectionImpl.java:110)
at org.teiid.jdbc.XAConnectionImpl.getConnection(XAConnectionImpl.java:96)
at org.jboss.resource.adapter.jdbc.xa.XAManagedConnection.<init>(XAManagedConnection.java:56)
at org.jboss.resource.adapter.jdbc.xa.XAManagedConnectionFactory.newXAManagedConnection(XAManagedConnectionFactory.java:475)
at org.jboss.resource.adapter.jdbc.xa.XAManagedConnectionFactory.getXAManagedConnection(XAManagedConnectionFactory.java:453)
... 32 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 6 months