-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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-43808: [C++] skip -0117
in StrptimeZoneOffset for old glibc
#44621
base: main
Are you sure you want to change the base?
Conversation
|
|
Hmm. It seems that we need to improve the added condition... Java JNI / AMD64 manylinux2014 Java JNI: https://github.com/apache/arrow/actions/runs/11692780048/job/32562887155?pr=44621#step:7:3448
C++ / AMD64 Conda C++ AVX2: https://github.com/apache/arrow/actions/runs/11692780055/job/32562895558?pr=44621#step:7:4505
|
Or just the test expectations need to depend on |
FWIW, I don't mind how this is done. We could also add #if defined(__GLIBC__) && defined(__GLIBC_MINOR__) && (__GLIBC__ == 2) && (__GLIBC_MINOR__ < 28) in arrow/cpp/src/arrow/util/value_parsing_test.cc Lines 829 to 832 in 11c11a4
directly, but the reason I went with this is that my understanding is that it's unlike that old glibc actually supports this feature, and we might as well reflect that...? |
I think that the test failure shows that glibc used by these CI supports |
-0117
in StrptimeZoneOffset for old glibc
|
You're right, that existing skip was a red herring. I think the only issue is with the |
a3f3105
to
5ce5c5d
Compare
Gentle ping @kou |
The AMD64 Windows MinGW CLANG64 C++ job has just started failing but it does not seem related to the changes on the PR. |
It's unrelated. I've opened a new issue for it: #44730 |
@h-vetinari Could you update the PR description before we merge this? |
Done |
|
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 timezones like
-0117
(used inStrptimeZoneOffset
test). 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