chore: Upgrade Velox to 59b492 pointed by upstream Presto release-0.297-edge10.#52
Conversation
|
Important Review skippedToo many files! This PR contains 300 files, which is 150 over the limit of 150. 📒 Files selected for processing (300)
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 |
release-0.297-edge10.
release-0.297-edge10.release-0.297-edge10.
56a2c3a to
30580ef
Compare
|
I think this PR mostly looks good to me. Good to approve once the CI passes. It might also be worth updating the clp repo commit to the current latest (i.e. past the initial timestamp support commit), but not really necessary -- if not I'll just do it in my timestamp support PR. |
5536d06 to
c624802
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>
88a3943 to
59d886b
Compare
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>
9a089b7 to
e46f441
Compare
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>
e46f441 to
bd6e5d3
Compare
|
close this as #53 is merged, my personal fork does not have enough permission for publishing velox build image |
Description
This PR updates the Velox submodule to a newer upstream snapshot and adapts the CLP connector to remain compatible.
Commit 1 (a4383b5) 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 (5b10428) fix: CLP connector API adaptation and dependency upgrades to build against the new Velox version:
Commit 3 (00157a8) fix: Update builder dockerfile — setup-ubuntu.sh switched from pip to uv for cmake installation, so remove the Python venv setup and the manual cmake 3.28.3 pre-installation
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