Changeset: 3b9d3e89afc5 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/3b9d3e89afc5
Added Files:
        sql/test/BugTracker-2025/Tests/7626_sum_max_const.test
Modified Files:
        sql/test/BugTracker-2025/Tests/All
Branch: Mar2025
Log Message:

add test for issue # 7626


diffs (23 lines):

diff --git a/sql/test/BugTracker-2025/Tests/7626_sum_max_const.test 
b/sql/test/BugTracker-2025/Tests/7626_sum_max_const.test
new file mode 100644
--- /dev/null
+++ b/sql/test/BugTracker-2025/Tests/7626_sum_max_const.test
@@ -0,0 +1,10 @@
+statement ok
+CREATE VIEW v0 AS SELECT CAST ( NULL AS INT ) INTERSECT SELECT CAST ( NULL AS 
INT )
+
+query I
+SELECT DISTINCT SUM ( max ( ( SELECT NULL AS v2 GROUP BY v2 ) ) ) OVER( ORDER 
BY '013' ) FROM v0 ;
+----
+NULL
+
+statement ok
+drop view v0
diff --git a/sql/test/BugTracker-2025/Tests/All 
b/sql/test/BugTracker-2025/Tests/All
--- a/sql/test/BugTracker-2025/Tests/All
+++ b/sql/test/BugTracker-2025/Tests/All
@@ -4,3 +4,4 @@ 7615_join_reordering_2
 7616_join_reordering_3
 7621_count_case_crash
 7623_update_returning
+7626_sum_max_const
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to