[teiid-issues] [JBoss JIRA] (TEIID-5934) Inappropriate aggregate pushdown over nested table join
Steven Hawkins (Jira)
issues at jboss.org
Thu Apr 16 11:27:28 EDT 2020
[ https://issues.redhat.com/browse/TEIID-5934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steven Hawkins updated TEIID-5934:
----------------------------------
Fix Version/s: 13.1.1
> Inappropriate aggregate pushdown over nested table join
> -------------------------------------------------------
>
> Key: TEIID-5934
> URL: https://issues.redhat.com/browse/TEIID-5934
> Project: Teiid
> Issue Type: Bug
> Components: Query Engine
> Reporter: Steven Hawkins
> Assignee: Steven Hawkins
> Priority: Major
> Fix For: 14.0, 13.1.1
>
>
> Related to TEIID-5932, a query with multiple lateral joins and a group by is optimized incorrectly. Altering the unit test query to:
> {code}
> SELECT xt.event_id, count(*) FROM tbl AS d,
> TABLE (select d.event_id from tbl limit 1) xt
> LEFT JOIN TABLE (select tbl.str as some_col from tbl where str = 'a' || d.str) xt2
> ON xt.event_id = -1
> group by xt.event_id
> {code}
> Results in a processing error because the initial pushdown for tbl only selects count star and does not select tbl.str.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the teiid-issues
mailing list