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

MonetDB completely giving up on certain queries - no error and no result #6201

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

Comments

@monetdb-team
Copy link

Date: 2017-02-02 15:32:48 +0100
From: @eyalroz
To: SQL devs <>
Version: 11.25.5 (Dec2016-SP1)
CC: @kutsurak, martin.van.dinther, @njnes

Last updated: 2017-03-03 10:24:32 +0100

Comment 24948

Date: 2017-02-02 15:32:48 +0100
From: @eyalroz

User-Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0
Build Identifier:

Starting mclient with any database, and executing:

create table t1 (c1 integer);
insert into t1 values (1);
select sum(c2) from (select count() / (select count() from t1) as c2 from t1) as t;

should yield a single value, of 1. Instead - you get nothing, just a prompt for the next statement. No error message, no result, nothing in merovingian.log .

Seeing this also with 11.23.7 .

Reproducible: Always

Comment 24950

Date: 2017-02-02 15:42:28 +0100
From: @kutsurak

This actually crashes the server:

mserver5: /home/kutsurak/work/monet/sources/MonetDB/monetdb5/optimizer/opt_garbageCollector.c:102: OPTgarbageCollectorImplementation: Assertion `p->token == ENDsymbol' failed.

Comment 24952

Date: 2017-02-02 16:21:23 +0100
From: Martin van Dinther <<martin.van.dinther>>

I am also getting an assertion failure but a different one:

could not find L7.L6
L3.L3
mserver5: ../../../../dev/sql/backends/monet5/rel_bin.c:2404: rel2bin_project: Assertion `0' failed.

This is when using the latest Dec2016 source code (pulled at 2 febr 12:30).

Comment 24957

Date: 2017-02-02 22:54:32 +0100
From: @njnes

fixed (removed incorrect rewrite in the semantic phase)

Comment 24958

Date: 2017-02-02 23:05:35 +0100
From: MonetDB Mercurial Repository <>

Changeset d4b01e89ac7a made by Niels Nes niels@cwi.nl in the MonetDB repo, refers to this bug.

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

Changeset description:

fixed bug #6201, ie handle group by in selection properly

Comment 25120

Date: 2017-03-03 10:24:32 +0100
From: @sjoerdmullender

Dec2016-SP2 has been released, incorporating the fix.

@monetdb-team monetdb-team added bug Something isn't working major SQL 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 major SQL
Projects
None yet
Development

No branches or pull requests

2 participants