summaryrefslogtreecommitdiffstats
path: root/tests/dialects/test_spark.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-09-23 17:07:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-09-23 17:07:13 +0000
commita3a22f545e149b714b6f2b17cd04a5d6e0bd5294 (patch)
treec85091fdb1158b1f0edaf40267d812197c0bc76c /tests/dialects/test_spark.py
parentAdding upstream version 6.1.1. (diff)
downloadsqlglot-upstream/6.2.0.tar.xz
sqlglot-upstream/6.2.0.zip
Adding upstream version 6.2.0.upstream/6.2.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/dialects/test_spark.py')
-rw-r--r--tests/dialects/test_spark.py12
1 files changed, 2 insertions, 10 deletions
diff --git a/tests/dialects/test_spark.py b/tests/dialects/test_spark.py
index 8794fed..22f6947 100644
--- a/tests/dialects/test_spark.py
+++ b/tests/dialects/test_spark.py
@@ -44,15 +44,7 @@ class TestSpark(Validator):
write={
"presto": "CREATE TABLE test WITH (FORMAT = 'PARQUET') AS SELECT 1",
"hive": "CREATE TABLE test STORED AS PARQUET AS SELECT 1",
- "spark": "CREATE TABLE test STORED AS PARQUET AS SELECT 1",
- },
- )
- self.validate_all(
- "CREATE TABLE test USING ICEBERG STORED AS PARQUET AS SELECT 1",
- write={
- "presto": "CREATE TABLE test WITH (TABLE_FORMAT = 'ICEBERG', FORMAT = 'PARQUET') AS SELECT 1",
- "hive": "CREATE TABLE test USING ICEBERG STORED AS PARQUET AS SELECT 1",
- "spark": "CREATE TABLE test USING ICEBERG STORED AS PARQUET AS SELECT 1",
+ "spark": "CREATE TABLE test USING PARQUET AS SELECT 1",
},
)
self.validate_all(
@@ -86,7 +78,7 @@ COMMENT 'Test comment: blah'
PARTITIONED BY (
date STRING
)
-STORED AS ICEBERG
+USING ICEBERG
TBLPROPERTIES (
'x' = '1'
)""",