[teiid-issues] [JBoss JIRA] (TEIID-5937) Union All followed by except returns wrong results
Steven Hawkins (Jira)
issues at jboss.org
Fri Apr 17 12:00:34 EDT 2020
[ https://issues.redhat.com/browse/TEIID-5937?focusedWorklogId=12450848&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-12450848 ]
Steven Hawkins logged work on TEIID-5937:
-----------------------------------------
Author: Steven Hawkins
Created on: 17/Apr/20 11:55 AM
Start Date: 17/Apr/20 11:55 AM
Worklog Time Spent: 3 hours
Issue Time Tracking
-------------------
Remaining Estimate: 1 hour (was: 4 hours)
Time Spent: 3 hours
Worklog Id: (was: 12450848)
> Union All followed by except returns wrong results
> --------------------------------------------------
>
> Key: TEIID-5937
> URL: https://issues.redhat.com/browse/TEIID-5937
> Project: Teiid
> Issue Type: Bug
> Components: Query Engine
> Affects Versions: 13.1
> Reporter: Dmitrii Pogorelov
> Assignee: Steven Hawkins
> Priority: Blocker
> Fix For: 13.1, 14.0, 13.0.3
>
> Original Estimate: 4 hours
> Time Spent: 3 hours
> Remaining Estimate: 1 hour
>
> The following queries return wrong results:
> {code:sql}
> -- <null> though should return 1
> select * from views.test2 except select * from views.test1
> UNION ALL
> select * from views.test1 except select * from views.test2 ;;
>
> -- <null> though should return 1
> (select * from views.test2 except select * from views.test1
> UNION ALL
> select * from views.test1) except select * from views.test2 ;;
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the teiid-issues
mailing list