-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GH-37328: [Python] Add a function to download and extract timezone database on Windows #38179
GH-37328: [Python] Add a function to download and extract timezone database on Windows #38179
Conversation
|
044ce27
to
94033dc
Compare
@jorisvandenbossche forgot about this PR a bit. It would be good to have it in 15.0.0 =) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some quick comments!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the slow follow-up here!
Co-authored-by: Joris Van den Bossche <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
After merging your PR, Conbench analyzed the 7 benchmarking runs that have been run so far on merge-commit e52017a. There was 1 benchmark result indicating a performance regression:
The full Conbench report has more details. It also includes information about 17 possible false positives for unstable benchmarks that are known to sometimes produce them. |
Rationale for this change
There is a section in the Arrow C++ documentation with the instructions on how to download and extract text version of the IANA timezone database and on Windows. We should provide a function in PyArrow that a user would call to download and extract the timezone database from Python.
What changes are included in this PR?
Function
download_tzdata_on_windows()
added to python/pyarrow/util.py that downloads and extracts timezone database to a standard location in%USERPROFILE%\Downloads\tzdata
on Widnows.Are these changes tested?
Yes.
Are there any user-facing changes?
No.