From 9b39dac84e82bf473216939e50b8836170f01d23 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 29 Jun 2023 15:02:29 +0200 Subject: Merging upstream version 16.7.3. Signed-off-by: Daniel Baumann --- tests/dialects/test_spark.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/dialects/test_spark.py') diff --git a/tests/dialects/test_spark.py b/tests/dialects/test_spark.py index 54c39e7..8acc48e 100644 --- a/tests/dialects/test_spark.py +++ b/tests/dialects/test_spark.py @@ -7,6 +7,10 @@ class TestSpark(Validator): def test_ddl(self): self.validate_identity("CREATE TABLE foo (col VARCHAR(50))") self.validate_identity("CREATE TABLE foo (col STRUCT)") + self.validate_identity("CREATE TABLE foo (col STRING) CLUSTERED BY (col) INTO 10 BUCKETS") + self.validate_identity( + "CREATE TABLE foo (col STRING) CLUSTERED BY (col) SORTED BY (col) INTO 10 BUCKETS" + ) self.validate_all( "CREATE TABLE db.example_table (col_a struct)", -- cgit v1.2.3