[JBoss JIRA] (TEIID-4320) Costing calculation issues
by Johnathon Lee (JIRA)
[ https://issues.jboss.org/browse/TEIID-4320?page=com.atlassian.jira.plugin... ]
Johnathon Lee reopened TEIID-4320:
----------------------------------
> Costing calculation issues
> --------------------------
>
> Key: TEIID-4320
> URL: https://issues.jboss.org/browse/TEIID-4320
> Project: Teiid
> Issue Type: Bug
> Components: Query Engine
> Affects Versions: 7.7
> Reporter: Steven Hawkins
> Assignee: Steven Hawkins
> Priority: Critical
> Fix For: 9.1, 8.13.6, 9.0.1, 8.7.8.6_2
>
>
> When determining if a dependent join should be used we'll rule out too many scenarios based upon requiring additional ndv info - when that can be determined from cardinality alone. Also we are inappropriately assuming key usage in predicate costing - as it does not consider the node which may not represent a single table.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 7 months
[JBoss JIRA] (TEIID-4304) Correct handling with subquery in on clause
by Johnathon Lee (JIRA)
[ https://issues.jboss.org/browse/TEIID-4304?page=com.atlassian.jira.plugin... ]
Johnathon Lee closed TEIID-4304.
--------------------------------
Resolution: Done
> Correct handling with subquery in on clause
> -------------------------------------------
>
> Key: TEIID-4304
> URL: https://issues.jboss.org/browse/TEIID-4304
> Project: Teiid
> Issue Type: Bug
> Components: Query Engine
> Affects Versions: 7.7
> Reporter: Steven Hawkins
> Assignee: Steven Hawkins
> Fix For: 9.1, 8.7.8.6_2, 8.12.6.6_3, 9.0.2, 9.0.1
>
>
> With the translator capability supportsSubqueryInOn false, we can still plan a query with a subquery in the on clause if non-join criteria on the inner side of a left outer join is used in the user query on clause (it is temporarily pushed out of the join and then added back in rule collapse source).
> Additionally the oracle translator should not support subquery in on for oracle 11 and earlier.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 7 months
[JBoss JIRA] (TEIID-4304) Correct handling with subquery in on clause
by Johnathon Lee (JIRA)
[ https://issues.jboss.org/browse/TEIID-4304?page=com.atlassian.jira.plugin... ]
Johnathon Lee updated TEIID-4304:
---------------------------------
Fix Version/s: 8.12.6.6_3
> Correct handling with subquery in on clause
> -------------------------------------------
>
> Key: TEIID-4304
> URL: https://issues.jboss.org/browse/TEIID-4304
> Project: Teiid
> Issue Type: Bug
> Components: Query Engine
> Affects Versions: 7.7
> Reporter: Steven Hawkins
> Assignee: Steven Hawkins
> Fix For: 9.1, 9.0.1, 8.7.8.6_2, 9.0.2, 8.12.6.6_3
>
>
> With the translator capability supportsSubqueryInOn false, we can still plan a query with a subquery in the on clause if non-join criteria on the inner side of a left outer join is used in the user query on clause (it is temporarily pushed out of the join and then added back in rule collapse source).
> Additionally the oracle translator should not support subquery in on for oracle 11 and earlier.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 7 months
[JBoss JIRA] (TEIID-4304) Correct handling with subquery in on clause
by Johnathon Lee (JIRA)
[ https://issues.jboss.org/browse/TEIID-4304?page=com.atlassian.jira.plugin... ]
Johnathon Lee reopened TEIID-4304:
----------------------------------
> Correct handling with subquery in on clause
> -------------------------------------------
>
> Key: TEIID-4304
> URL: https://issues.jboss.org/browse/TEIID-4304
> Project: Teiid
> Issue Type: Bug
> Components: Query Engine
> Affects Versions: 7.7
> Reporter: Steven Hawkins
> Assignee: Steven Hawkins
> Fix For: 9.1, 9.0.1, 8.7.8.6_2, 9.0.2
>
>
> With the translator capability supportsSubqueryInOn false, we can still plan a query with a subquery in the on clause if non-join criteria on the inner side of a left outer join is used in the user query on clause (it is temporarily pushed out of the join and then added back in rule collapse source).
> Additionally the oracle translator should not support subquery in on for oracle 11 and earlier.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 7 months