Changeset: 26e9bcedec4d for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/26e9bcedec4d
Added Files:
        sql/test/BugTracker-2026/Tests/7911-query-without-result-bug.test
Modified Files:
        sql/test/BugTracker-2026/Tests/All
Branch: Dec2025
Log Message:

Add test for #7911


diffs (38 lines):

diff --git a/sql/test/BugTracker-2026/Tests/7911-query-without-result-bug.test 
b/sql/test/BugTracker-2026/Tests/7911-query-without-result-bug.test
new file mode 100644
--- /dev/null
+++ b/sql/test/BugTracker-2026/Tests/7911-query-without-result-bug.test
@@ -0,0 +1,21 @@
+statement ok
+CREATE TABLE rt1(c5 DATE)
+
+statement ok
+INSERT INTO rt1 VALUES (CAST('2020-01-01' AS DATE))
+
+query T nosort
+SELECT x.k3
+FROM (
+  (SELECT r.c5 AS k, r.c5 AS k2, r.c5 AS k3
+   FROM rt1 AS r
+   GROUP BY r.c5)
+  EXCEPT
+  (SELECT CAST(NULL AS DATE) AS k, CAST(NULL AS DATE) AS k2, CAST(NULL AS 
DATE) AS k3 WHERE 1 = 0)
+) AS x
+----
+2020-01-01
+
+statement ok
+DROP TABLE IF EXISTS rt1
+
diff --git a/sql/test/BugTracker-2026/Tests/All 
b/sql/test/BugTracker-2026/Tests/All
--- a/sql/test/BugTracker-2026/Tests/All
+++ b/sql/test/BugTracker-2026/Tests/All
@@ -84,6 +84,7 @@ KNOWNFAIL?7774-insert-into-renamed-table
 7895-subquery-where-not-bug
 KNOWNFAIL?7896-where-ascii-comparison-bug
 7897-exp_bin-assertion-failure
+7899-correlated-with-complex-and-or
 KNOWNFAIL?7903-query-without-result-bug
 KNOWNFAIL?7906-rel2bin_join-assertion-failure
-7899-correlated-with-complex-and-or
+7911-query-without-result-bug
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to