This is an automated email from the ASF dual-hosted git repository.
ruifengz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new f8526b612ff2 [MINOR][PYTHON][TESTS] Fix
`test_time_zone_against_map_in_arrow` for tzdata on ubuntu 24
f8526b612ff2 is described below
commit f8526b612ff2024d5c20f80510de0289ec1bbec0
Author: Ruifeng Zheng <[email protected]>
AuthorDate: Wed Feb 4 18:23:33 2026 +0800
[MINOR][PYTHON][TESTS] Fix `test_time_zone_against_map_in_arrow` for tzdata
on ubuntu 24
### What changes were proposed in this pull request?
Fix `test_time_zone_against_map_in_arrow` for tzdata on ubuntu 24
### Why are the changes needed?
`US/Pacific` is no longer a valid timezone in `tzdata` on ubuntu 24, it
needs additional packages like `tzdata-legacy` on ubuntu 24.
### Does this PR introduce _any_ user-facing change?
no, test-only
### How was this patch tested?
manually check
### Was this patch authored or co-authored using generative AI tooling?
no
Closes #54129 from zhengruifeng/nit_ubuntu_2404.
Authored-by: Ruifeng Zheng <[email protected]>
Signed-off-by: Ruifeng Zheng <[email protected]>
---
python/pyspark/sql/tests/arrow/test_arrow_udf.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/python/pyspark/sql/tests/arrow/test_arrow_udf.py
b/python/pyspark/sql/tests/arrow/test_arrow_udf.py
index dcde871da811..81ba715f9485 100644
--- a/python/pyspark/sql/tests/arrow/test_arrow_udf.py
+++ b/python/pyspark/sql/tests/arrow/test_arrow_udf.py
@@ -109,7 +109,6 @@ class ArrowUDFTestsMixin:
"America/Los_Angeles",
"Pacific/Honolulu",
"Europe/Amsterdam",
- "US/Pacific",
]:
with self.sql_conf({"spark.sql.session.timeZone": tz}):
# There is a time-zone conversion in df.collect:
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]