Repository navigation
Conversation
|
Thanks for opening a pull request! If this is not a minor PR. Could you open an issue for this pull request on GitHub? https://github.com/apache/arrow/issues/new/choose Opening GitHub issues ahead of time contributes to the Openness of the Apache Arrow project. Then could you also rename the pull request title in the following format? or See also: |
ff74cc3 to
bed3874
Compare
| EXPECT_FATAL_FAILURE(AssertWithinUlp(123.456f, 123.456085f, 10), "not within 10 ulps"); | ||
| } | ||
|
|
||
| #ifdef ARROW_COMPUTE |
There was a problem hiding this comment.
while this might solve the specific test failure, I think the underlying problem is not solved.
gtest_util.cc is build if ARROW_TESTING=ON, it should not require run_end_encode as that requires ARROW_COMPUTE.
In my opinion the RunEndEncodeTableColumns function should be part of test utilities from arrow::compute, I created a PR for that:
#46161
This also appears on other issues as the one found here:
https://github.com/apache/arrow/pull/45618/files#diff-8e690315a407919d147f16a9a534fc9f5c3f6345b58820e2057afa7cd14bea6bR741
were I had to add run_end_encode to the non-conditional sources that are always included as part of libarrow as a workaround.
There was a problem hiding this comment.
Ah that's great - thanks for taking a look! I agree your solution is more robust - let's roll with that
Rationale for this change
The test suite currently fails when ARROW_COMPUTE is disabled
What changes are included in this PR?
This disables the particular util test when ARROW_COMPUTE=OFF
Are these changes tested?
Yes
Are there any user-facing changes?
No