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 following test cases. The STARTSWITH function checks if the string in t0.c0 starts with the character 'a' with case sensitive, and it should be evaluated as true, as shown in the second query. Thus, the third query should return 2 rows.
To Reproduce
DROPTABLE IF EXISTS t0 CASCADE;
DROPTABLE IF EXISTS t1 CASCADE;
CREATETABLEt0 (c0 VARCHAR) ;
CREATETABLEt1 (c1 BOOLEAN) ;
INSERT INTO t0(c0) VALUES ('a');
INSERT INTO t1(c1) VALUES (true), (true);
SELECT*FROM t0, t1; -- a true, a trueSELECT STARTSWITH(t0.c0, 'a', t1.c1) FROM t0, t1; -- true, trueSELECT*FROM t0, t1 WHERE STARTSWITH(t0.c0, 'a', t1.c1);
-- Expected: a true, a true (2 rows)-- Actual: a true (1 row)
Expected behavior
As mentioned above.
Screenshots
N/A
Software versions
Build from source:
> docker exec -it monetdb-test mserver5 --version
MonetDB 5 server 11.52.0 (hg id: 53f9d56) (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: @49c6d00b8d79 (x86_64-pc-linux-gnu)
Compilation: /usr/bin/cc
Linking : /usr/bin/ld
Issue labeling
Bug
Additional context
Add any other context about the problem here.
Activity
Add test for GH issue #7544
fixed bug #7544. Make sure to have proper bats on each side of the join.
sjoerdmullender commentedon Jul 22, 2024
The test fails when run single-threaded.
njnes commentedon Aug 2, 2024
we now check all icase values to be equal.