Skip to content
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

[C++] Skip TimestampParser.StrptimeZoneOffset with old glibc #43808

Open
kou opened this issue Aug 23, 2024 · 0 comments
Open

[C++] Skip TimestampParser.StrptimeZoneOffset with old glibc #43808

kou opened this issue Aug 23, 2024 · 0 comments

Comments

@kou
Copy link
Member

kou commented Aug 23, 2024

Describe the enhancement requested

It seems that old glibc (2.17) doesn't support -0117 timezone offset.

#35587 (comment)

[ RUN      ] TimestampParser.StrptimeZoneOffset
$SRC_DIR/cpp/src/arrow/util/value_parsing_test.cc:852: Failure
Expected equality of these values:
  expected
    Which is: 1514769420
  converted
    Which is: 1514769408
Google Test trace:
$SRC_DIR/cpp/src/arrow/util/value_parsing_test.cc:847: 2018-01-01 00:00:00-0117

[  FAILED  ] TimestampParser.StrptimeZoneOffset (0 ms)

At least glibc 2.28 (on AlmaLinux 8) works. See also: #35587 (comment)

Let's skip the test with glibc < 2.28.

Component(s)

C++

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant