-
Notifications
You must be signed in to change notification settings - Fork 4k
GH-48593: [C++] C++20: use standard calendar / timezone APIs #48601
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
Open
rok
wants to merge
75
commits into
apache:main
Choose a base branch
from
rok:cpp20_use_chrono
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+608
−270
Open
Changes from all commits
Commits
Show all changes
75 commits
Select commit
Hold shift + click to select a range
c9ab394
first draft
rok 7837d38
attempt to understand gcc behavior
rok 3d7592b
keep vendored lib for gcc
rok 145d12a
simplify with C++20 chrono features
rok f2eef59
Review feedback
rok 147f35f
lint
rok bc355cb
Reference to gcc issue
rok 3c17d05
Remove windows tz workarounds
rok ebb80df
Allow gcc bug on windows
rok bddfcfa
Fix verify RC step
rok 84f51a8
Fix R's tzdb
rok ef965e8
Skip failing tests (due to gcc bug)
rok 5b74ef1
add mingw tzdata
rok 311d4a3
enable std::chrono for mingw
rok e0b0086
reenable downloading of tzdb for clang64 with mingw on windows
rok 750816d
download windowsZones.xml, skip CastTimezone.ZonedTimestampToTime
rok cc5ba78
experiment
rok ca65894
work
rok 1e9c3dc
experiment
rok 700ab25
another experiment
rok 23e581a
experiment
rok ee6341d
Reverting some changes
rok 0de03f6
Reverting more changes
rok 1d0d82e
Review feedback
rok 2d74692
doctest
rok 4e64e84
Assume gcc13+ for R
rok 2e81294
deprecate some functions, set deprecation vesion to 24.0.0
rok 94b061d
skip a test
rok 790ae5d
skip a test
rok 155f142
review feedback
rok 4b2024a
review feedback
rok 03197c7
lint
rok b7c41fe
fix two tests and skip another
rok 4c078eb
revert change
rok 2d6ed2a
Skip windows tests in R if tzdb_path doesn't exist
rok e099766
Skip timezone tests on windows R if tzdb_path doesn't exist
rok 570ec29
python fix
rok 5847286
revert R change
rok e8ba8e5
R PKGBUILD
rok 85e3fe8
python fix
rok dba51ba
fix ARROW_USE_STD_CHRONO on windows
rok 1b9d00e
use wendored on clang windows
rok 47c59f0
cmake change and python tests
rok e5938b7
print if assert False
rok 9551944
add tzdb for R jobs
rok 7b631ec
python skipif message
rok cd495fe
skipif reason argument
rok 5363232
fix python test
rok a6ac667
fix python test, tidy up
rok a313b43
tidying up
rok 5176584
supress deprecation warning
rok 2bef459
GlobalOptions initializer
rok 040c0e8
GlobalOptions
rok 4af3b3a
remove appveyor references
rok d650046
Remove more appveyor references
rok c34e4e1
fix timestamp check
rok 1e5b734
try checking full string
rok 14f77f1
compare whole timestamp strings on windows
rok e2be635
temporarily enable problematic test
rok 7234e56
fix failing tests
rok 7e1f050
simplify macro
rok 66965c0
disable rounding test on windows and rename user-agent
rok 3793b88
lint
rok b60b141
don't doctest
rok deb0a2a
minor changes and tzdata to latest
rok 1f2d930
iana db to latest
rok d31e6d4
exclude a problematic timestamp
rok 01632d7
comment out another timestamp, remove NOLINT
rok 9a06bca
reverting nolint
rok 182e44e
exclude two timestamps
rok 7af3c22
fixing one-off error
rok 2ec0a46
Update python/pyarrow/tests/test_compute.py
rok c730059
provide TZDIR for ORC
rok 9e87d57
forgot import sys
rok c6caa3c
GH-49287: [C++][R] Clean up any other C++20 partial compatibility iss…
jonkeane File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,7 +20,7 @@ | |
| set -ex | ||
|
|
||
| # Download database | ||
| curl https://data.iana.org/time-zones/releases/tzdata2024b.tar.gz --output ~/Downloads/tzdata.tar.gz | ||
| curl https://data.iana.org/time-zones/tzdata-latest.tar.gz --output ~/Downloads/tzdata.tar.gz | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Changing here and elsewhere to latest. |
||
|
|
||
| # Extract | ||
| mkdir -p ~/Downloads/tzdata | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.