Adding upstream version 25.18.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
1341bc6477
commit
b35dbeb6b6
81 changed files with 34133 additions and 33517 deletions
|
@ -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={
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue