Merging upstream version 26.3.9.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
622a568f1a
commit
ef4ccf5b0b
45 changed files with 197 additions and 6533 deletions
|
@ -1083,6 +1083,9 @@ class TestPresto(Validator):
|
|||
"snowflake": "CURRENT_USER()",
|
||||
},
|
||||
)
|
||||
self.validate_identity(
|
||||
"SELECT id, FIRST_VALUE(is_deleted) OVER (PARTITION BY id) AS first_is_deleted, NTH_VALUE(is_deleted, 2) OVER (PARTITION BY id) AS nth_is_deleted, LAST_VALUE(is_deleted) OVER (PARTITION BY id) AS last_is_deleted FROM my_table"
|
||||
)
|
||||
|
||||
def test_encode_decode(self):
|
||||
self.validate_identity("FROM_UTF8(x, y)")
|
||||
|
|
|
@ -85,6 +85,10 @@ class TestTrino(Validator):
|
|||
self.validate_identity(
|
||||
"ALTER VIEW people SET AUTHORIZATION alice", check_command_warning=True
|
||||
)
|
||||
self.validate_identity("CREATE SCHEMA foo WITH (LOCATION='s3://bucket/foo')")
|
||||
self.validate_identity(
|
||||
"CREATE TABLE foo.bar WITH (LOCATION='s3://bucket/foo/bar') AS SELECT 1"
|
||||
)
|
||||
|
||||
def test_analyze(self):
|
||||
self.validate_identity("ANALYZE tbl")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue