Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect result set - Extra records in result set #6184

Closed
monetdb-team opened this issue Nov 30, 2020 · 0 comments
Closed

Incorrect result set - Extra records in result set #6184

monetdb-team opened this issue Nov 30, 2020 · 0 comments
Labels

Comments

@monetdb-team
Copy link

@monetdb-team monetdb-team commented Nov 30, 2020

Date: 2017-01-11 17:18:35 +0100
From: Manuel <>
To: SQL devs <>
Version: 11.23.13 (Jun2016-SP2)

Last updated: 2017-01-26 14:56:41 +0100

Comment 24880

Date: 2017-01-11 17:18:35 +0100
From: Manuel <>

User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36
Build Identifier:

Queries like

select * from "unitTestDontDelete" where "B" < 5 AND "B" >= 5;
select * from "unitTestDontDelete" where "A" < 'Cat2' AND "A" >= 'Cat2'
select * from "unitTestDontDelete" where "C" < 5.5 AND "C" >= 5.5;

return extra records where no records is expected

Reproducible: Always

Steps to Reproduce:

1.Create table "unitTestDontDelete" as in attachment
2.Execute a query like select * from "unitTestDontDelete" where "B" < 5 AND "B" >= 5;
3. The result set is not empty as expected

Actual Results:

Cat2 5 5.5 2013-06-15 16:15:15.0

Expected Results:

[empty]

Comment 24881

Date: 2017-01-11 17:19:24 +0100
From: Manuel <>

Created attachment 527
example table

Attached file: unitTest.sql (application/octet-stream, 581 bytes)
Description: example table

Comment 24882

Date: 2017-01-12 09:19:27 +0100
From: MonetDB Mercurial Repository <>

Changeset 1ba49a99910f made by Sjoerd Mullender sjoerd@acm.org in the MonetDB repo, refers to this bug.

For complete details, see http//devmonetdborg/hg/MonetDB?cmd=changeset;node=1ba49a99910f

Changeset description:

Fix select for (half) open interval where left and right the same.
According to the comments near BATselect, this should give an empty
result, and now it does.  Some incorrect usage was also fixed.
This fixes bug #6184.

Comment 24918

Date: 2017-01-26 14:56:41 +0100
From: @kutsurak

Fixed in version Dec2016-SP1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant