You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/10/14 21:04:18 UTC
[GitHub] [arrow] wjones127 commented on pull request #14191: ARROW-17798: [C++][Parquet] Add DELTA_BINARY_PACKED encoder to Parquet writer
wjones127 commented on PR #14191:
URL: https://github.com/apache/arrow/pull/14191#issuecomment-1279463746
Actually nevermind. I was building in debug mode, but the CI is in release. When I rebuild in release and run, I get the failure:
```
Running main() from C:/M/mingw-w64-gtest/src/googletest-release-1.11.0/googletest/src/gtest_main.cc
Note: Google Test filter = TestDeltaBitPackEncoding*
[==========] Running 2 tests from 2 test suites.
[----------] Global test environment set-up.
[----------] 1 test from TestDeltaBitPackEncoding/0, where TypeParam = parquet::PhysicalType<(parquet::Type::type)1>
[ RUN ] TestDeltaBitPackEncoding/0.BasicRoundTrip
unknown file: Failure
C++ exception with description "delta bit width larger than integer bit width" thrown in the test body.
[ FAILED ] TestDeltaBitPackEncoding/0.BasicRoundTrip, where TypeParam = parquet::PhysicalType<(parquet::Type::type)1> (22 ms)
[----------] 1 test from TestDeltaBitPackEncoding/0 (31 ms total)
[----------] 1 test from TestDeltaBitPackEncoding/1, where TypeParam = parquet::PhysicalType<(parquet::Type::type)2>
[ RUN ] TestDeltaBitPackEncoding/1.BasicRoundTrip
unknown file: Failure
C++ exception with description "delta bit width larger than integer bit width" thrown in the test body.
[ FAILED ] TestDeltaBitPackEncoding/1.BasicRoundTrip, where TypeParam = parquet::PhysicalType<(parquet::Type::type)2> (30 ms)
[----------] 1 test from TestDeltaBitPackEncoding/1 (39 ms total)
[----------] Global test environment tear-down
[==========] 2 tests from 2 test suites ran. (98 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 2 tests, listed below:
[ FAILED ] TestDeltaBitPackEncoding/0.BasicRoundTrip, where TypeParam = parquet::PhysicalType<(parquet::Type::type)1>
[ FAILED ] TestDeltaBitPackEncoding/1.BasicRoundTrip, where TypeParam = parquet::PhysicalType<(parquet::Type::type)2>
2 FAILED TESTS
```
Which comes from:
https://github.com/apache/arrow/blob/2f57194fd3347873c7a365e3a514bf87a78f75cb/cpp/src/parquet/encoding.cc#L2172
So some bitwidth must be different in release versus debug mode?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org