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

SAMPLE will return same result every time. #3331

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

SAMPLE will return same result every time. #3331

monetdb-team opened this issue Nov 30, 2020 · 0 comments
Labels
bug Something isn't working GDK Kernel major

Comments

@monetdb-team
Copy link

Date: 2013-07-31 08:15:36 +0200
From: jun liu <>
To: GDK devs <>
Version: 11.15.15 (Feb2013-SP4)
CC: @hannesmuehleisen

Last updated: 2013-10-22 14:42:11 +0200

Comment 18951

Date: 2013-07-31 08:15:36 +0200
From: jun liu <>

User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4
Build Identifier:

To execute SQL like: "select id from table sample 0.1"

It will return same result set every time, but random result expected.

Reproducible: Always

Comment 18952

Date: 2013-07-31 08:22:08 +0200
From: jun liu <>

example:

sql>select uid from users sample 5;
+------------+
| uid |
+============+
| 1826098154 |
| 1840137980 |
| 1735367250 |
| 1887581187 |
| 1354129612 |
+------------+
5 tuples (3.2s)
sql>select uid from users sample 5;
+------------+
| uid |
+============+
| 1826098154 |
| 1840137980 |
| 1735367250 |
| 1887581187 |
| 1354129612 |
+------------+
5 tuples (3.3s)

Comment 19204

Date: 2013-09-27 16:41:25 +0200
From: MonetDB Mercurial Repository <>

Changeset 2bccc8cfa356 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=2bccc8cfa356

Changeset description:

Reverse order of mar_tail and reverse.
This fixes bug #3331.
This should not be propagated.
@monetdb-team monetdb-team added bug Something isn't working GDK Kernel major labels Nov 30, 2020
@sjoerdmullender sjoerdmullender added this to the Ancient Release milestone Feb 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working GDK Kernel major
Projects
None yet
Development

No branches or pull requests

2 participants