summaryrefslogtreecommitdiffstats
path: root/tests/fixtures/optimizer/simplify.sql
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-10-22 17:00:19 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-10-22 17:00:19 +0000
commit357f4c323239b9ba9b604c444fe3c2e1991e46ec (patch)
tree739aa7ddca96a60c9148554b35bb1b231cb9888f /tests/fixtures/optimizer/simplify.sql
parentReleasing debian version 25.24.5-1. (diff)
downloadsqlglot-357f4c323239b9ba9b604c444fe3c2e1991e46ec.tar.xz
sqlglot-357f4c323239b9ba9b604c444fe3c2e1991e46ec.zip
Merging upstream version 25.26.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/fixtures/optimizer/simplify.sql')
-rw-r--r--tests/fixtures/optimizer/simplify.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/fixtures/optimizer/simplify.sql b/tests/fixtures/optimizer/simplify.sql
index fa2dc79..1842e55 100644
--- a/tests/fixtures/optimizer/simplify.sql
+++ b/tests/fixtures/optimizer/simplify.sql
@@ -140,6 +140,9 @@ TRUE;
COALESCE(x, y) <> ALL (SELECT z FROM w);
COALESCE(x, y) <> ALL (SELECT z FROM w);
+SELECT NOT (2 <> ALL (SELECT 2 UNION ALL SELECT 3));
+SELECT 2 = ANY(SELECT 2 UNION ALL SELECT 3);
+
--------------------------------------
-- Absorption
--------------------------------------