Merging upstream version 26.29.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
141a93f866
commit
4c1ec9be5a
58 changed files with 17605 additions and 17151 deletions
|
@ -7,6 +7,7 @@ class TestAthena(Validator):
|
|||
maxDiff = None
|
||||
|
||||
def test_athena(self):
|
||||
self.validate_identity("SELECT 'foo''bar'")
|
||||
self.validate_identity(
|
||||
"CREATE TABLE IF NOT EXISTS t (name STRING) LOCATION 's3://bucket/tmp/mytable/' TBLPROPERTIES ('table_type'='iceberg', 'FORMAT'='parquet')"
|
||||
)
|
||||
|
@ -39,6 +40,9 @@ class TestAthena(Validator):
|
|||
def test_ddl(self):
|
||||
# Hive-like, https://docs.aws.amazon.com/athena/latest/ug/create-table.html
|
||||
self.validate_identity("CREATE EXTERNAL TABLE foo (id INT) COMMENT 'test comment'")
|
||||
self.validate_identity(
|
||||
"CREATE EXTERNAL TABLE my_table (id BIGINT COMMENT 'this is the row\\'s id') LOCATION 's3://my-s3-bucket'"
|
||||
)
|
||||
self.validate_identity(
|
||||
"CREATE EXTERNAL TABLE foo (id INT, val STRING) CLUSTERED BY (id, val) INTO 10 BUCKETS"
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue