Changeset: 639e2d8e8014 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=639e2d8e8014
Modified Files:
sql/test/subquery/Tests/subquery3.sql
Branch: default
Log Message:
Query failing to compile, ie cardinality mismatch
diffs (21 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
@@ -207,6 +207,17 @@ HAVING (t1.col1 = ANY (SELECT MAX(ColID
-- 1
SELECT
+ 1
+FROM another_T t1
+GROUP BY t1.col1, t1.col2, t1.col4
+HAVING (t1.col1 = ANY (SELECT MAX(ColID + col2) FROM tbl_ProductSales)) <
+ ((SELECT NOT EXISTS (SELECT t1.col2 FROM tbl_ProductSales WHERE
tbl_ProductSales.ColID = t1.col1)) INTERSECT
+ (SELECT NOT t1.col1 IN (SELECT MAX(t1.col7) EXCEPT SELECT tp.ColID FROM
tbl_ProductSales tp)));
+ -- 1
+ -- 1
+ -- 1
+
+SELECT
col6,
col7,
NOT SUM(t1.col6) NOT IN (SELECT MAX(t2.col6) FROM another_T t2 GROUP BY
t1.col6 HAVING t1.col7 < MAX(t1.col6))
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list