From 8b1fb8d8676e832d02b99bb8e69f6897dd10c0f6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 3 Sep 2024 09:37:50 +0200 Subject: Merging upstream version 25.18.0. Signed-off-by: Daniel Baumann --- tests/dialects/test_presto.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'tests/dialects/test_presto.py') diff --git a/tests/dialects/test_presto.py b/tests/dialects/test_presto.py index 950c89f..c8e616e 100644 --- a/tests/dialects/test_presto.py +++ b/tests/dialects/test_presto.py @@ -634,6 +634,7 @@ class TestPresto(Validator): }, ) + self.validate_identity("SELECT a FROM t GROUP BY a, ROLLUP (b), ROLLUP (c), ROLLUP (d)") self.validate_identity("SELECT a FROM test TABLESAMPLE BERNOULLI (50)") self.validate_identity("SELECT a FROM test TABLESAMPLE SYSTEM (75)") self.validate_identity("string_agg(x, ',')", "ARRAY_JOIN(ARRAY_AGG(x), ',')") @@ -715,9 +716,6 @@ class TestPresto(Validator): ) self.validate_all( "SELECT ROW(1, 2)", - read={ - "spark": "SELECT STRUCT(1, 2)", - }, write={ "presto": "SELECT ROW(1, 2)", "spark": "SELECT STRUCT(1, 2)", @@ -835,12 +833,6 @@ class TestPresto(Validator): "trino": "ARRAY_AGG(x ORDER BY y DESC)", }, ) - self.validate_all( - "SELECT a FROM t GROUP BY a, ROLLUP(b), ROLLUP(c), ROLLUP(d)", - write={ - "presto": "SELECT a FROM t GROUP BY a, ROLLUP (b, c, d)", - }, - ) self.validate_all( 'SELECT a."b" FROM "foo"', write={ -- cgit v1.2.3