You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by ho...@apache.org on 2024/03/03 21:54:13 UTC
(iceberg-python) branch main updated: default spark session timezone to UTC in test (#494)
This is an automated email from the ASF dual-hosted git repository.
honahx pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-python.git
The following commit(s) were added to refs/heads/main by this push:
new 13bd343d default spark session timezone to UTC in test (#494)
13bd343d is described below
commit 13bd343ddf62524fc889f333a97891c22d53d2e3
Author: Kevin Liu <ke...@users.noreply.github.com>
AuthorDate: Sun Mar 3 13:54:07 2024 -0800
default spark session timezone to UTC in test (#494)
---
tests/conftest.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/conftest.py b/tests/conftest.py
index 5b488c70..21c036ec 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -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")