You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Consider the test cases below. It would crash the monetdb server. The server log (merovingian.log) would show: 2024-02-27 09:53:35 MSG merovingian[159]: database 'monetdb' (2897) has crashed with signal SIGABRT (dumped core)
To Reproduce
DROPTABLE t0 CASCADE;
DROPTABLE t1 CASCADE;
CREATETABLEt0(c1 INT);
CREATETABLEt1(c1 VARCHAR(500));
CREATEVIEWv0(c0) ASSELECT (('a')||('b')) FROM t1;
SELECT*FROM t1, t0 INNER JOIN v0 ONt0.c1WHERE CONTAINS((t1.c1>'a'), t0.c1) UNION ALLSELECT*FROM t1, t0 INNER JOIN v0 ONt0.c1WHERE (NOT CONTAINS((t1.c1>'a'), t0.c1)); -- unexpected end of file
Expected behavior
Should return an error message, or return the correct result.
Screenshots
N/A
Software versions
Build from source:
> docker exec monetdb-test mserver5 --version --dbname=monetdb
MonetDB 5 server 11.50.0 (hg id: c9e0977) (64-bit, 128-bit integers)
This is an unreleased version
Copyright (c) 1993 - July 2008 CWI
Copyright (c) August 2008 - 2023 MonetDB B.V., all rights reserved
Visit https://www.monetdb.org/ for further information
Found 503.5GiB available memory, 128 available cpu cores
Libraries:
Compiled by: @618e73c727b6 (x86_64-pc-linux-gnu)
Compilation: /usr/bin/cc
Linking : /usr/bin/ld
Issue labeling
Bug
Additional context
Kindly inform me if you need more information (e.g. error trace, etc.)
Activity
Add test for issue #7466
mvdvm commentedon Feb 29, 2024
It works ok in Dec2023 but fails in default branch.
njnes commentedon Mar 6, 2024
problem was at the join reorder optimizer.