[JBoss JIRA] Resolved: (TEIID-236) Procedural access pattern
by Steven Hawkins (JIRA)
[ https://jira.jboss.org/jira/browse/TEIID-236?page=com.atlassian.jira.plug... ]
Steven Hawkins resolved TEIID-236.
----------------------------------
Resolution: Deferred
I'm inclined to not add the procedural access pattern as a separate concern. Teiid already appropriately checks for valid subset of procedural criteria in RulePlanProcedures. Also from a designer perspective determining when an access pattern is a procedural access pattern would simply involve checking the covered group to see if it resolves to a procedure.
There is a case to be made that our normal concept of an access pattern should be the same thing as a "procedural" access pattern. That would predictably restrict the rows returned, work with procedural relational logic, and be valid for use with source indexes. However that would be a breaking change and has not yet been a requested feature.
> Procedural access pattern
> -------------------------
>
> Key: TEIID-236
> URL: https://jira.jboss.org/jira/browse/TEIID-236
> Project: Teiid
> Issue Type: Feature Request
> Components: Query Engine
> Affects Versions: 6.0.0
> Reporter: Steven Hawkins
> Fix For: 6.3
>
>
> Defect Tracker #24374: It would be good to introduce a concept of a procedural access pattern (with designer support) that would capture the more restrictive semantics of procedure input criteria (=, in, and is null).
--
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, 3 months
[JBoss JIRA] Commented: (TEIID-93) when a fairly complex query is pushed down to the XML-HTTP Connector, it fails
by Steven Hawkins (JIRA)
[ https://jira.jboss.org/jira/browse/TEIID-93?page=com.atlassian.jira.plugi... ]
Steven Hawkins commented on TEIID-93:
-------------------------------------
This type of issue will be fixed in general when we migrate the xml relational logic into the engine and model document retrieval as a procedure. The procedural relational logic would already correctly handle this situation.
> when a fairly complex query is pushed down to the XML-HTTP Connector, it fails
> ------------------------------------------------------------------------------
>
> Key: TEIID-93
> URL: https://jira.jboss.org/jira/browse/TEIID-93
> Project: Teiid
> Issue Type: Bug
> Components: XML Connector
> Affects Versions: 7.x
> Reporter: Steven Hawkins
> Fix For: 6.3
>
>
> Defect Tracker #25059: when a fairly complex query is pushed down to the XML-HTTP
> Connector, it fails
> Need a lot more information.
> OK, here's how to reproduce this issue (which we hit at Citi). Use the attached model project set in 5.5.1RC2 Designer, and use the response.xml attached with your standard xmltool.war tester. Then issue the following query from Designer:
> >>
> >> select H_RelationshipID, H_RelationshipName, H_HHID, H_TeamLeadName, H_TeamLeadID, H_MemberFirstName, H_MemberLastName, H_MemberAcctID, H_MemberFCName, H_MemberFCNum, H_HHLeadInd, H_MemberType, H_MemberRole, H_clientId, A_ADDR_TYPE, A_ADDR_SUB_TYPE, A_ADDR_SUB_NAME, A_ADDR_LINE1, A_ADDR_LINE2, A_ADDR_LINE3, A_ADDR_LINE4, A_ADDR_LINE5, A_ADDR_LINE6, A_ADDR_FLAG1, A_ADDR_FLAG2, A_ADDR_FLAG3, A_ADDR_FLAG4, A_ADDR_FLAG5, A_ADDR_FLAG6, A_CITY, A_ZIP, A_STATE_CODE, A_POSTAL_CODE, A_COUNTRY, A_ALTA_TYPE, A_EFF_DATE, A_EXP_DATE from "RPXMLTest"."CustRelnDataWS.WS.RetrieveCustRelnData.relnDataSingleTable" where A_ADDR_TYPE IN ('BA','AA') AND ((A_ADDR_TYPE IN('AA')) AND(NVL(A_ALTA_TYPE,'') = ''))
> >>
> >> This plans to the following source query being pushed to the connector:
> >>
> >> SELECT A_ALTA_TYPE, H_RelationshipID, H_RelationshipName, H_HHID, H_TeamLeadName, H_TeamLeadID, H_MemberFirstName, H_MemberLastName, H_MemberAcctID, H_MemberFCName, H_MemberFCNum, H_HHLeadInd, H_MemberType, H_MemberRole, H_clientId, A_ADDR_TYPE, A_ADDR_SUB_TYPE, A_ADDR_SUB_NAME, A_ADDR_LINE1, A_ADDR_LINE2, A_ADDR_LINE3, A_ADDR_LINE4, A_ADDR_LINE5, A_ADDR_LINE6, A_ADDR_FLAG1, A_ADDR_FLAG2, A_ADDR_FLAG3, A_ADDR_FLAG4, A_ADDR_FLAG5, A_ADDR_FLAG6, A_CITY, A_ZIP, A_STATE_CODE, A_POSTAL_CODE, A_COUNTRY, A_EFF_DATE, A_EXP_DATE FROM RPXMLTest.CustRelnDataWS.WS.RetrieveCustRelnData.relnDataSingleTable WHERE (A_ADDR_TYPE IN ('BA', 'AA')) AND (A_ADDR_TYPE = 'AA')
> >>
> >> Now, the criteria here says that A_ADDR_TYPE needs to be in the set of 'AA', 'BA', AND needs to be equal to 'AA'. So really only those "rows" where A_ADDR_TYPE='AA' should be returned. But instead the connector returns all rows where A_ADDR_TYPE is 'AA' or 'BA'.
> >>
> >
> > This seems like it could be a defect in the way we hande IN criteria. Was there ever a case or defect on this?
--
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, 3 months
[JBoss JIRA] Resolved: (TEIID-404) 1-way and 2-way SSL to MMx must support different keystore file names within a cluster
by Steven Hawkins (JIRA)
[ https://jira.jboss.org/jira/browse/TEIID-404?page=com.atlassian.jira.plug... ]
Steven Hawkins resolved TEIID-404.
----------------------------------
Resolution: Out of Date
SSL configuration is now in the deploy.properties, which would be configured for each cluster member.
> 1-way and 2-way SSL to MMx must support different keystore file names within a cluster
> --------------------------------------------------------------------------------------
>
> Key: TEIID-404
> URL: https://jira.jboss.org/jira/browse/TEIID-404
> Project: Teiid
> Issue Type: Feature Request
> Components: Server
> Affects Versions: 6.1.0
> Reporter: Larry O'Leary
> Fix For: 6.3
>
>
> Defect Tracker #24283: File naming conventions require a keystore file to be prefixed with the machine's host name. This creates a problem when deploying certificates for use with SSL to a MetaMatrix System as the keystore on each MetaMatrix Server has a different name. Currently, the MMConsole only allows you to set a key store file name that will be used system wide.
> We will need the ability to define a key store file name on a per host and possibly a per VM basis. This could be accomplished in many different manners.
> The recommended implementation would be to simply move the SSL Resource configuration to the process and host level. This would allow an administrator to continue to use the Console to configure SSL.
> At the host level, the administrator could set the default key store file name to be used for all VM(s) deployed to that host. At the VM level, the administrator could set a key store file name value that will override the default host level key store file name property.
> This should also be done for the client trust store property to support 2-way SSL.
--
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, 3 months
[JBoss JIRA] Resolved: (TEIID-183) user "or" and "in" criteria should generate multiple queries in some situations
by Steven Hawkins (JIRA)
[ https://jira.jboss.org/jira/browse/TEIID-183?page=com.atlassian.jira.plug... ]
Steven Hawkins resolved TEIID-183.
----------------------------------
Resolution: Deferred
both the xml connector and proc relational now support in. The only scenario that is not covered is the use of or - which for multiple parameter values should just be written as an in.
In general there's a case to be made to support a or b as a and not(b) union all b and not(a) union all a and b OR for distinct results as a union b. This query expansion should only be done when both a and b are both separately supported for pushdown and result in significantly less rows being returned than the query without criteria. Marking as deferred until a compelling use case comes up for this scenario.
> user "or" and "in" criteria should generate multiple queries in some situations
> -------------------------------------------------------------------------------
>
> Key: TEIID-183
> URL: https://jira.jboss.org/jira/browse/TEIID-183
> Project: Teiid
> Issue Type: Feature Request
> Components: Query Engine
> Affects Versions: 7.x
> Reporter: Steven Hawkins
> Fix For: 6.3
>
>
> Defect Tracker #23857: Since web services and relational wrappers around procedures do not support "in" or "or" criteria, an enhancement would be union the results of multipe queries rather than not pushing down the criteria or not validating the query entirely.
--
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, 3 months
[JBoss JIRA] Resolved: (TEIID-216) Query timeout should be enforced by the server
by Steven Hawkins (JIRA)
[ https://jira.jboss.org/jira/browse/TEIID-216?page=com.atlassian.jira.plug... ]
Steven Hawkins resolved TEIID-216.
----------------------------------
Resolution: Deferred
Marking as deferred. Zero sized batch processing is a very minor issue, once a timeout or cancel has been issued the current plan will typically fail-fast. Also we will now get immediate notification of a failing client connection, or at the very least a ping timeout that will cause a cancel. Until we clients accessing through a non-Java interface it's not imperative to move/duplicate the timeout handling on the server.
> Query timeout should be enforced by the server
> ----------------------------------------------
>
> Key: TEIID-216
> URL: https://jira.jboss.org/jira/browse/TEIID-216
> Project: Teiid
> Issue Type: Feature Request
> Components: Query Engine
> Affects Versions: 6.0.0
> Reporter: Steven Hawkins
> Fix For: 6.3
>
>
> Defect Tracker #4990 : Query timeouts should be enforced by the server and client.
> Also the RelationalNode nextbatch method will need to be made aware of the timeslice/timeout when handling 0 length batches.
--
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, 3 months