Adding upstream version 26.16.2.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
4bfa0e7e53
commit
6e767a6f98
110 changed files with 62370 additions and 61414 deletions
|
@ -97,11 +97,19 @@ class TestTrino(Validator):
|
|||
self.validate_identity(
|
||||
"CREATE TABLE foo (a VARCHAR, b INTEGER, c DATE) WITH (PARTITIONED_BY=ARRAY['a', 'b'])"
|
||||
)
|
||||
self.validate_identity(
|
||||
'CREATE TABLE "foo" ("a" VARCHAR, "b" INTEGER, "c" DATE) WITH (PARTITIONED_BY=ARRAY[\'a\', \'b\'])',
|
||||
identify=True,
|
||||
)
|
||||
|
||||
# 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)'])",
|
||||
)
|
||||
self.validate_identity(
|
||||
'CREATE TABLE "foo" ("a" VARCHAR, "b" INTEGER, "c" DATE) WITH (PARTITIONING=ARRAY[\'a\', \'bucket(4, b)\', \'month(c)\'])',
|
||||
identify=True,
|
||||
)
|
||||
|
||||
def test_analyze(self):
|
||||
self.validate_identity("ANALYZE tbl")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue