-
Notifications
You must be signed in to change notification settings - Fork 5.5k
chore(ci): Advance Velox #26385
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
chore(ci): Advance Velox #26385
Conversation
tanjialiang
commented
Oct 21, 2025
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThis PR advances the Velox submodule to its latest commit and updates associated build definitions and compatibility tweaks in the Presto native execution module. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
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.
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.
@tanjialiang : Please fix build errors
/__w/presto/presto/presto-native-execution/presto_cpp/main/SessionProperties.cpp: In constructor 'facebook::presto::SessionProperties::SessionProperties()':
/__w/presto/presto/presto-native-execution/presto_cpp/main/SessionProperties.cpp:574:20: error: 'kRowSizeTrackingEnabled' is not a member of 'facebook::velox::core::QueryConfig'
574 | QueryConfig::kRowSizeTrackingEnabled,
| ^~~~~~~~~~~~~~~~~~~~~~~
/__w/presto/presto/presto-native-execution/presto_cpp/main/SessionProperties.cpp:575:24: error: 'class facebook::velox::core::QueryConfig' has no member named 'rowSizeTrackingEnabled'; did you mean 'rowSizeTrackingMode'?
575 | std::to_string(c.rowSizeTrackingEnabled()));
| ^~~~~~~~~~~~~~~~~~~~~~
| rowSizeTrackingMode
At global scope:
cc1plus: note: unrecognized command-line option '-Wno-nullability-completeness' may have been intended to silence earlier diagnostics
[1142/1299] Building CXX object presto_cpp/main/CMakeFiles/presto_server_remote_function.dir/JsonSignatureParser.cpp.o
[1143/1299] Building CXX object presto_cpp/main/CMakeFiles/presto_server_remote_function.dir/RemoteFunctionRegisterer.cpp.o
[1144/1299] Building CXX object presto_cpp/main/operators/tests/CMakeFiles/presto_operators_plan_builder.dir/PlanBuilder.cpp.o
|
Due to the change in facebookincubator/velox@a52307a54, we have to update scripts related to |
|
@unidevel @tanjialiang I'm making another PR to fix the setup scripts. We can either put all of this into a single PR or into two PRs (preferred) that goes after this one. |
|
We can merge this as a companion PR to the advance of Velox PR: #26406 |
|
Not sure if this is the right place to ask for this, but... We hit an issue using latest Velox with Presto, because of the recent I would like to propose you add this as a Presto build option and plumb it down to the Velox build, as it would help workaround situations like this. They have used that flag several times in the past to bridge changes, and I'm sure they will again in the future, so I was surprised to find that it wasn't exposed in the Presto build. |
|
We intentionally do not want to make this flag available in Prestissimo repo to ensure that Prestissimo code is updated quickly to stop using deprecated APIs. |
Fair enough. Thank you. We have a workaround for now, so we look forward to the Presto-side fix. |
|
@tanjialiang : Am curious about the status of this PR. We haven't updated Velox in few days now. |
|
@HuamengJiang @tanjialiang kRowSizeTrackingEnabled is now an enum. We need to update Prestissimo appropriately to move Velox version. |
d1cc700 to
faff178
Compare
Do you want me to include the PR in this PR and update together? Or how do you want to do it? Let me know. |
|
@tanjialiang my PR does not depend on the changes here but is required once this PR merges. Ahh but it turns out you need my PR to get the CI green here (I have the |
faff178 to
3c574d1
Compare
## Description
A recent change in Velox changed what the current
directory is after github_checkout. This breaks
building the PrestoC++ dependencies.
The refactor removes github cloning and instead
pulls released tar.gz images of the source code.
This also increases the download speed.
This is a companion PR to #26385
```
== NO RELEASE NOTE ==
```
f2eb9a3 to
a40c13b
Compare
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.
Thanks @tanjialiang
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.
Thanks @tanjialiang
| QueryConfig::kRowSizeTrackingEnabled, | ||
| std::to_string(c.rowSizeTrackingEnabled())); | ||
| QueryConfig::kRowSizeTrackingMode, | ||
| std::to_string(static_cast<int32_t>(c.rowSizeTrackingMode()))); |
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.
@tanjialiang : This is just going to show 1, 2, 3 and not the string versions of the enums. We should ask Velox team to expose the string names of the enums (they have a macro for it) which we can use here.
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.
yeah we can do a followup on this
|
@tdcmeehan : Please can you review. Don't know why committers got tagged here. |
|
Tim and Christian are working on the Presto Native pre-commit hook. It will take an hour or two to resolve. We can submit after. |
66db087
a40c13b to
66db087
Compare
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.
Thanks @tanjialiang