[teiid-issues] [JBoss JIRA] (TEIID-5550) DISTINCT pushed down incorrectly in some cases

RH Bugzilla Integration (Jira) issues at jboss.org
Thu Nov 22 11:56:00 EST 2018


     [ https://issues.jboss.org/browse/TEIID-5550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

RH Bugzilla Integration updated TEIID-5550:
-------------------------------------------
    Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=1652324
        Bugzilla Update: Perform


> DISTINCT pushed down incorrectly in some cases
> ----------------------------------------------
>
>                 Key: TEIID-5550
>                 URL: https://issues.jboss.org/browse/TEIID-5550
>             Project: Teiid
>          Issue Type: Bug
>          Components: Query Engine
>    Affects Versions: 8.12.15.6_4
>         Environment: JDV 6.4.5
>            Reporter: Marc Shirley
>            Assignee: Steven Hawkins
>            Priority: Major
>             Fix For: 11.1.2, 12.0, 11.2.1
>
>
> The parent DISTINCT is being removed over joins in particular situations.  This is a regression from TEIID-3063 TEIID-3062.
> Conditions:
> - basic query structure is select distinct col from a join b on a.col2 = b.col2
> - a sort merge join variant must have been planned
> - the sort must not be pushed to one of the children
> - the projection related conditions of TEIID-3062 / TEIID-3063 must be met
> - there is a one to many relationship
> The result is that the parent distinct will be inappropriately removed, such that the output of the join can contain repetition of the col value when it should be distinct.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the teiid-issues mailing list