-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add spark compatibility tests for GCS and Azure
Also with native filesystem enabled
- Loading branch information
1 parent
0a542fe
commit dae880a
Showing
9 changed files
with
222 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
...esources/docker/presto-product-tests/conf/environment/multinode-azure/spark-defaults.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
spark.sql.catalogImplementation=hive | ||
spark.sql.warehouse.dir=hdfs://hadoop-master:9000/user/hive/warehouse | ||
spark.sql.hive.thriftServer.singleSession=false | ||
|
||
spark.sql.catalog.spark_catalog = org.apache.iceberg.spark.SparkSessionCatalog | ||
spark.sql.catalog.spark_catalog.type = hive | ||
|
||
spark.sql.catalog.iceberg_test=org.apache.iceberg.spark.SparkCatalog | ||
spark.sql.catalog.iceberg_test.type=hive | ||
spark.sql.catalog.iceberg_test.uri=thrift://hadoop-master:9083 | ||
; disabling caching allows us to run spark queries interchangeably with trino's | ||
spark.sql.catalog.iceberg_test.cache-enabled=false | ||
spark.sql.extensions=org.apache.iceberg.spark.extensions.IcebergSparkSessionExtensions | ||
|
||
spark.hadoop.fs.defaultFS=hdfs://hadoop-master:9000 | ||
spark.hive.metastore.uris=thrift://hadoop-master:9083 | ||
spark.hive.metastore.warehouse.dir=hdfs://hadoop-master:9000/user/hive/warehouse | ||
spark.hive.metastore.schema.verification=false | ||
|
||
spark.hadoop.fs.azure.account.key.%ABFS_ACCOUNT%.dfs.core.windows.net=%ABFS_ACCESS_KEY% |
21 changes: 21 additions & 0 deletions
21
.../resources/docker/presto-product-tests/conf/environment/multinode-gcs/spark-defaults.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
spark.sql.catalogImplementation=hive | ||
spark.sql.warehouse.dir=hdfs://hadoop-master:9000/user/hive/warehouse | ||
spark.sql.hive.thriftServer.singleSession=false | ||
|
||
spark.sql.catalog.spark_catalog = org.apache.iceberg.spark.SparkSessionCatalog | ||
spark.sql.catalog.spark_catalog.type = hive | ||
|
||
spark.sql.catalog.iceberg_test=org.apache.iceberg.spark.SparkCatalog | ||
spark.sql.catalog.iceberg_test.type=hive | ||
spark.sql.catalog.iceberg_test.uri=thrift://hadoop-master:9083 | ||
; disabling caching allows us to run spark queries interchangeably with trino's | ||
spark.sql.catalog.iceberg_test.cache-enabled=false | ||
spark.sql.extensions=org.apache.iceberg.spark.extensions.IcebergSparkSessionExtensions | ||
|
||
spark.hadoop.fs.defaultFS=hdfs://hadoop-master:9000 | ||
spark.hive.metastore.uris=thrift://hadoop-master:9083 | ||
spark.hive.metastore.warehouse.dir=hdfs://hadoop-master:9000/user/hive/warehouse | ||
spark.hive.metastore.schema.verification=false | ||
spark.hive.enforce.bucketing=false | ||
|
||
spark.hadoop.fs.gs.auth.service.account.json.keyfile=/spark/conf/gcp-credentials.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters