From 5b1ac5070c43c40a2b5bbc991198b0dddf45dc75 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 8 Mar 2023 08:22:15 +0100 Subject: Merging upstream version 11.3.3. Signed-off-by: Daniel Baumann --- tests/dialects/test_sqlite.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests/dialects/test_sqlite.py') diff --git a/tests/dialects/test_sqlite.py b/tests/dialects/test_sqlite.py index 19a88f3..a3e4cc9 100644 --- a/tests/dialects/test_sqlite.py +++ b/tests/dialects/test_sqlite.py @@ -81,6 +81,13 @@ class TestSQLite(Validator): "sqlite": "SELECT fname, lname, age FROM person ORDER BY age DESC NULLS FIRST, fname NULLS LAST, lname", }, ) + self.validate_all("x", read={"snowflake": "LEAST(x)"}) + self.validate_all("MIN(x)", read={"snowflake": "MIN(x)"}, write={"snowflake": "MIN(x)"}) + self.validate_all( + "MIN(x, y, z)", + read={"snowflake": "LEAST(x, y, z)"}, + write={"snowflake": "LEAST(x, y, z)"}, + ) def test_hexadecimal_literal(self): self.validate_all( -- cgit v1.2.3