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

algebra.project(0@0,bat) fails at propcheck #3045

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

algebra.project(0@0,bat) fails at propcheck #3045

monetdb-team opened this issue Nov 30, 2020 · 0 comments
Labels
bug Something isn't working MAL/M5 normal

Comments

@monetdb-team
Copy link

Date: 2012-02-28 12:41:39 +0100
From: @grobian
To: MonetDB5 devs <>
Version: 11.7.5 (Dec2011) [obsolete]
CC: @yzchang

Last updated: 2012-11-27 13:59:02 +0100

Comment 17020

Date: 2012-02-28 12:41:39 +0100
From: @grobian

The following piece of code produces a failure when run with --debug=10 (propcheck):

b := bat.new(:oid, :bte);
b := bat.append(b, 100:bte);
b := bat.append(b, 105:bte);
b := bat.append(b, 100:bte);
b := bat.append(b, 105:bte);
b := bat.append(b, 115:bte);
io.print(b);
c := algebra.project(0@0,b);
io.print(c);

It results in:

h t name
void bte type

[ 0@0, 100 ]
[ 1@0, 105 ]
[ 2@0, 100 ]
[ 3@0, 105 ]
[ 4@0, 115 ]
!GDKerror:!ERROR: BATpropcheck: BAT tmpr_1136(-606)[bte,oid] with 5 tuples was incorrectly marked sorted!
!ERROR: BATpropcheck: BAT tmpr_1136(-606)[bte,oid] with 5 tuples remains marked radix-clustered on 32 bits; not checked!

Comment 17021

Date: 2012-02-28 13:25:55 +0100
From: @sjoerdmullender

Changeset e06f9ca778bc 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=e06f9ca778bc

Changeset description:

Reuse implementation in GDK for algebra.project + add test for bug #3045.
algebra.project does basically what BATconst does, so use that to do
the work.
Thid also fixes bug #3045.

Comment 17022

Date: 2012-02-28 13:29:03 +0100
From: @sjoerdmullender

Fixed.

Comment 17100

Date: 2012-03-16 14:56:54 +0100
From: @grobian

Released in Dec2011-SP2

Comment 18063

Date: 2012-11-27 13:59:02 +0100
From: @yzchang

Test already added in monetdb5/tests/BugTracker/Tests/algebra_project.Bug-3045

@monetdb-team monetdb-team added bug Something isn't working MAL/M5 normal labels Nov 30, 2020
@sjoerdmullender sjoerdmullender added this to the Ancient Release milestone Nov 9, 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 MAL/M5 normal
Projects
None yet
Development

No branches or pull requests

2 participants