GH-43808: [C++] set kStrptimeSupportsZone to false for old glibc #44621
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.
Rationale for this change
Enable tests for libarrow in conda-forge: #35587
What changes are included in this PR?
old glibc does not actually support whatever
kStrptimeSupportsZone
does; I first wanted toStrptimeZoneOffset
, but given that it already has a skip, it seems more reasonable to just use that.arrow/cpp/src/arrow/util/value_parsing_test.cc
Lines 829 to 832 in 11c11a4
The exact lower bound for glibc is hard for me to determine; I know that it passes with 2.28 and that it fails with 2.17. Anything in between is an open question. I went with the conservative option here.
Are these changes tested?
Tested in conda-forge/arrow-cpp-feedstock#1058
Are there any user-facing changes?
TimestampParser.StrptimeZoneOffset
with old glibc #43808