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
Consider the test cases below. It is unexpected that the third query returns empty result, since the second query returns true, which means that the WHERE clause in the third query should be evaluated to true and thus return the row in the table.
To Reproduce
CREATETABLEt1(c1 INTEGER);
CREATETABLEt0(c0 BOOL, c1 INTEGER);
INSERT INTO t1 (c1) VALUES (0);
CREATEUNIQUE INDEXi0ON t0(c1 , c0 );
INSERT INTO t0 (c0, c1) VALUES (true, 0);
SELECTt0.c0, t0.c1, t1.c1FROM t1 INNER JOIN t0 ONt0.c0; -- true 0 0SELECT (t0.c1) IS NOT NULLFROM t1 INNER JOIN t0 ONt0.c0; -- trueSELECTt0.c0, t0.c1, t1.c1FROM t1 INNER JOIN t0 ONt0.c0WHERE (t0.c1) IS NOT NULL;
-- Expected: true 0 0-- Actual: Empty Result
Expected behavior
The result of the third query should be same as the first one
Software versions
MonetDB v11.49.1 (Dec2023).
OS and version: Docker on Ubuntu 22.04
Installed from latest docker image
**Issue labeling **
Bug
The text was updated successfully, but these errors were encountered:
Describe the bug
Consider the test cases below. It is unexpected that the third query returns empty result, since the second query returns
true
, which means that theWHERE
clause in the third query should be evaluated totrue
and thus return the row in the table.To Reproduce
Expected behavior
The result of the third query should be same as the first one
Software versions
**Issue labeling **
Bug
The text was updated successfully, but these errors were encountered: