GH-38697: [C++][Gandiva] Use arrow io util to replace std::filesystem::path in gandiva#38698
GH-38697: [C++][Gandiva] Use arrow io util to replace std::filesystem::path in gandiva#38698pitrou merged 3 commits intoapache:mainfrom
Conversation
|
|
cpp/src/gandiva/tests/test_util.cc
Outdated
There was a problem hiding this comment.
Previously this DefaultConfiguration function is called by creating a new instance of ConfigurationBuilder, but I think this is not necessary since it is a static function of ConfigurationBuilder, so I change it as well.
It would be better to make the PR description self-contained, can you update this? |
|
@github-actions crossbow submit -g cpp |
This comment was marked as outdated.
This comment was marked as outdated.
|
@niyue There are Windows failures that need fixing. |
Sure. Updated. |
cf8d98d to
2f6d6eb
Compare
|
The AppVeyor check is still failing: https://ci.appveyor.com/project/ApacheSoftwareFoundation/arrow/builds/48524728. |
…il so that AlmaLinux 8 won't complain.
2f6d6eb to
5ae2764
Compare
Thanks for the suggestion. I took the approach and it did work. And Windows build should be okay now. |
|
@github-actions crossbow submit -g cpp |
|
@github-actions crossbow submit almalinux |
|
Revision: 5ae2764 Submitted crossbow builds: ursacomputing/crossbow @ actions-fe6233792a |
|
Revision: 5ae2764 Submitted crossbow builds: ursacomputing/crossbow @ actions-d28ae2b20a |
Co-authored-by: Antoine Pitrou <[email protected]>
|
Sorry for the misleading code suggestion. I've pushed a fix. |
|
After merging your PR, Conbench analyzed the 5 benchmarking runs that have been run so far on merge-commit 41e45fe. There were no benchmark performance regressions. 🎉 The full Conbench report has more details. It also includes information about 2 possible false positives for unstable benchmarks that are known to sometimes produce them. |
Sorry I should really verify this on my mac. I happened to use GitHub iOS app on the iPad yesterday night when I saw this, and I found the first time that the app provides a feature allowing me to apply the fix and resolve the conversation directly without opening any text editor so I gave it a try. Thanks for the fix. |
…system::path in gandiva (apache#38698) ### Rationale for this change AlmaLinux 8 CI reported linker failure when `std::filesystem::path` is used, and This PR tries to it. ### What changes are included in this PR? Replace replace `std::filesystem::path` in gandiva with arrow's internal io util so that AlmaLinux 8 CI build can work. ### Are these changes tested? It should be covered by existing tests and CI. ### Are there any user-facing changes? No * Closes: apache#38697 Lead-authored-by: Yue Ni <[email protected]> Co-authored-by: Yue <[email protected]> Co-authored-by: Antoine Pitrou <[email protected]> Co-authored-by: Antoine Pitrou <[email protected]> Signed-off-by: Antoine Pitrou <[email protected]>
Rationale for this change
AlmaLinux 8 CI reported linker failure when
std::filesystem::pathis used, and This PR tries to it.What changes are included in this PR?
Replace
std::filesystem::pathin Gandiva with Arrow's internal io util so that AlmaLinux 8 CI build can work.Are these changes tested?
It should be covered by existing tests and CI.
Are there any user-facing changes?
No
std::filesystem::pathusage #38697