-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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-38697: [C++][Gandiva] Use arrow io util to replace std::filesystem::path in gandiva #38698
Conversation
|
|
||
namespace gandiva { | ||
std::shared_ptr<Configuration> TestConfiguration() { | ||
auto builder = ConfigurationBuilder(); | ||
return builder.DefaultConfiguration(); | ||
return ConfigurationBuilder::DefaultConfiguration(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1. Thanks!
@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::path
is used, and This PR tries to it.What changes are included in this PR?
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
std::filesystem::path
usage #38697