Skip to content

Commit

Permalink
default spark session timezone to UTC in test (apache#494)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinjqliu authored Mar 3, 2024
1 parent 36b56eb commit 13bd343
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -1961,6 +1961,7 @@ def spark() -> SparkSession:

spark = (
SparkSession.builder.appName("PyIceberg integration test")
.config("spark.sql.session.timeZone", "UTC")
.config("spark.sql.extensions", "org.apache.iceberg.spark.extensions.IcebergSparkSessionExtensions")
.config("spark.sql.catalog.integration", "org.apache.iceberg.spark.SparkCatalog")
.config("spark.sql.catalog.integration.catalog-impl", "org.apache.iceberg.rest.RESTCatalog")
Expand Down

0 comments on commit 13bd343

Please sign in to comment.