Skip to content

Commit 6fce92b

Browse files
committed
set sparkSession to use UTC timezone
1 parent cad427a commit 6fce92b

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)