Adding upstream version 26.15.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
dfe1cec38a
commit
4bfa0e7e53
58 changed files with 4878 additions and 4677 deletions
|
@ -93,6 +93,16 @@ class TestTrino(Validator):
|
|||
"CREATE TABLE foo.bar WITH (LOCATION='s3://bucket/foo/bar') AS SELECT 1"
|
||||
)
|
||||
|
||||
# Hive connector syntax (partitioned_by)
|
||||
self.validate_identity(
|
||||
"CREATE TABLE foo (a VARCHAR, b INTEGER, c DATE) WITH (PARTITIONED_BY=ARRAY['a', 'b'])"
|
||||
)
|
||||
|
||||
# Iceberg connector syntax (partitioning, can contain Iceberg transform expressions)
|
||||
self.validate_identity(
|
||||
"CREATE TABLE foo (a VARCHAR, b INTEGER, c DATE) WITH (PARTITIONING=ARRAY['a', 'bucket(4, b)', 'month(c)'])",
|
||||
)
|
||||
|
||||
def test_analyze(self):
|
||||
self.validate_identity("ANALYZE tbl")
|
||||
self.validate_identity("ANALYZE tbl WITH (prop1=val1, prop2=val2)")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue