chore: Upgrade Velox to 59b492 pointed by upstream Presto release-0.297-edge10.#53
Merged
20001020ycx merged 4 commits intopresto-0.297-edge-10-clp-connectorfrom Feb 27, 2026
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
42408ea to
89443c5
Compare
89443c5 to
3af0f0e
Compare
Squash merge of upstream Velox commit 59b492a. Conflict resolutions: - CMake/resolve_dependency_modules/log_surgeon.cmake: Keep fork's CLP content; git confused it with tpcds/gen/tests/CMakeLists.txt due to rename detection during squash merge. - CMakeLists.txt: Take upstream Clang warning formatting (drop -Wno-implicit-const-int-float-conversion); preserve fork's Boost libraries (url, iostreams) needed for CLP with upstream formatting; take upstream zstd target alias check block. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adapt CLP connector to upstream Velox API changes in 0.297: - ConnectorFactory global registry removed: Replace connector::registerConnectorFactory / getConnectorFactory / unregisterConnectorFactory calls with direct factory instantiation (ClpConnectorFactory factory; factory.newConnector(...)) - New type aliases for connector handles: Update createDataSource and ClpDataSource constructor signatures to use ConnectorTableHandlePtr (shared_ptr<const ConnectorTableHandle>) and ColumnHandleMap (unordered_map<string, shared_ptr<const ColumnHandle>>) instead of the non-const shared_ptr variants - Update dynamic_pointer_cast calls to cast to const types to match the new const-qualified pointer types Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
3af0f0e to
7e3d007
Compare
jackluo923
requested changes
Feb 26, 2026
setup-ubuntu.sh no longer creates a Python venv — it switched from pip to uv for cmake installation. Remove the mv /tmp/.venv step and the VIRTUAL_ENV/PATH activation that depended on it. Also remove the cmake pre-install step, which was a workaround for pip-installed cmake PATH issues and is no longer needed since uv installs cmake to /usr/local/bin. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Apply clang-format v21 and gersemi v0.21 formatting (introduced by the 0.297 upstream merge) to CLP connector C++ and CMake files. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
7e3d007 to
b7eb104
Compare
jackluo923
approved these changes
Feb 27, 2026
gibber9809
approved these changes
Feb 27, 2026
gibber9809
left a comment
There was a problem hiding this comment.
LGTM. For PR title how about:
chore: Upgrade velox to facebookincubator/velox@59b492 to match version used by Presto release-0.297-edge10.
b288479
into
presto-0.297-edge-10-clp-connector
10 checks passed
This was referenced Feb 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR updates the Velox submodule to a newer upstream snapshot and adapts the CLP connector to remain compatible.
Commit 1 (1f22e5c) chore: Pull from upstream Velox open-source repo at commit facebookincubator@59b492a, this is the commit pointed by Presto
release-0.297-edge10.Commit 2 (7a75748) fix: CLP connector API adaptation and dependency upgrades to build against the new Velox version:
Commit 3 (8c8ce56) — fix: update builder dockerfile for Velox 0.297 setup-ubuntu.sh changes
Commit 4 (7e3d007) — chore: apply clang-format and gersemi (CMake formatter) to CLP connector files
Note for reviewers: Please only review 2nd and 3rd commit. The 2nd commit is relevant to the CLP Velox connector and warrants review, and the 3rd commit is fixing the breaking changes from ci workflow. The 1st commit is a merge commit from the upstream Velox open-source repository.
Checklist
breaking change.
Validation performed
SELECT CLP_GET_JSON_STRING() from clp.default.default limit 100