summaryrefslogtreecommitdiffstats
path: root/tests/dialects/test_trino.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2025-02-01 05:35:23 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2025-02-01 05:35:23 +0000
commitd18f4a773a6b191443f7a3728113bae714812a25 (patch)
treea63193050148f0effed07014955acc15955fe559 /tests/dialects/test_trino.py
parentReleasing debian version 26.3.8-1. (diff)
downloadsqlglot-d18f4a773a6b191443f7a3728113bae714812a25.tar.xz
sqlglot-d18f4a773a6b191443f7a3728113bae714812a25.zip
Merging upstream version 26.3.9.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--tests/dialects/test_trino.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/dialects/test_trino.py b/tests/dialects/test_trino.py
index 44ff1ea..d597ef4 100644
--- a/tests/dialects/test_trino.py
+++ b/tests/dialects/test_trino.py
@@ -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")