Skip to content

Commit 13bd343

Browse files
authored
default spark session timezone to UTC in test (#494)
1 parent 36b56eb commit 13bd343

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1961,6 +1961,7 @@ def spark() -> SparkSession:
19611961

19621962
spark = (
19631963
SparkSession.builder.appName("PyIceberg integration test")
1964+
.config("spark.sql.session.timeZone", "UTC")
19641965
.config("spark.sql.extensions", "org.apache.iceberg.spark.extensions.IcebergSparkSessionExtensions")
19651966
.config("spark.sql.catalog.integration", "org.apache.iceberg.spark.SparkCatalog")
19661967
.config("spark.sql.catalog.integration.catalog-impl", "org.apache.iceberg.rest.RESTCatalog")

0 commit comments

Comments
 (0)