ueshin opened a new pull request, #54528:
URL: https://github.com/apache/spark/pull/54528
### What changes were proposed in this pull request?
Not make timezone lower case.
### Why are the changes needed?
In some environment, lowercase timezone is not recognized by pandas' search.
```
...
File "/.../pandas/_libs/tslibs/timezones.pyx", line 133, in
pandas._libs.tslibs.timezones.maybe_get_tz
File "/.../pandas/_libs/tslibs/timezones.pyx", line 158, in
pandas._libs.tslibs.timezones.maybe_get_tz
File "/.../zoneinfo/_common.py", line 24, in load_tzdata
raise ZoneInfoNotFoundError(f"No time zone found with key {key}")
zoneinfo._common.ZoneInfoNotFoundError: 'No time zone found with key etc/utc'
```
If it's `Etc/UTC', it works.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Manually.
### Was this patch authored or co-authored using generative AI tooling?
No.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]