Adding upstream version 25.16.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
a500eebbbb
commit
1341bc6477
110 changed files with 75353 additions and 68092 deletions
|
@ -6,6 +6,15 @@ class TestAthena(Validator):
|
|||
maxDiff = None
|
||||
|
||||
def test_athena(self):
|
||||
self.validate_identity(
|
||||
"CREATE TABLE IF NOT EXISTS t (name STRING) LOCATION 's3://bucket/tmp/mytable/' TBLPROPERTIES ('table_type'='iceberg', 'FORMAT'='parquet')"
|
||||
)
|
||||
self.validate_identity(
|
||||
"UNLOAD (SELECT name1, address1, comment1, key1 FROM table1) "
|
||||
"TO 's3://amzn-s3-demo-bucket/ partitioned/' "
|
||||
"WITH (format = 'TEXTFILE', partitioned_by = ARRAY['key1'])",
|
||||
check_command_warning=True,
|
||||
)
|
||||
self.validate_identity(
|
||||
"""USING EXTERNAL FUNCTION some_function(input VARBINARY)
|
||||
RETURNS VARCHAR
|
||||
|
@ -14,7 +23,3 @@ class TestAthena(Validator):
|
|||
some_function(1)""",
|
||||
check_command_warning=True,
|
||||
)
|
||||
|
||||
self.validate_identity(
|
||||
"CREATE TABLE IF NOT EXISTS t (name STRING) LOCATION 's3://bucket/tmp/mytable/' TBLPROPERTIES ('table_type'='iceberg', 'FORMAT'='parquet')"
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue