Changeset: 138c56126325 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=138c56126325
Modified Files:
sql/test/subquery/Tests/subquery3.sql
Branch: default
Log Message:
Query with correlated left join giving wrong results
diffs (19 lines):
diff --git a/sql/test/subquery/Tests/subquery3.sql
b/sql/test/subquery/Tests/subquery3.sql
--- a/sql/test/subquery/Tests/subquery3.sql
+++ b/sql/test/subquery/Tests/subquery3.sql
@@ -228,6 +228,15 @@ GROUP BY t1.col7, t1.col6;
-- 6666 7777 False
-- 66 77 False
+SELECT
+ CASE WHEN NULL IN (SELECT MIN(ColID) FROM tbl_ProductSales tp LEFT JOIN
another_T t2 ON tp.ColID = t1.col1) THEN 1 ELSE 2 END
+FROM another_T t1
+GROUP BY t1.col1, t1.col2;
+ -- 2
+ -- 2
+ -- 2
+ -- 2
+
/* We shouldn't allow the following internal functions/procedures to be called
from regular queries */
--SELECT "identity"(col1) FROM another_T;
--SELECT "rowid"(col1) FROM another_T;
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list