-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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
Use upstream repo for apache datasketches #55787
Use upstream repo for apache datasketches #55787
Conversation
This is an automated comment for commit 91ae411 with description of existing statuses. It's updated for the latest CI running ❌ Click here to open a full report in a separate page Successful checks
|
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.
LGTM. We also included an update (ClickHouse/datasketches-cpp#3) which was fixed in apache/datasketches-cpp#301 and included in the fork. This code was later rewritten (apache/datasketches-cpp#309) so the 4.1.x branch should be ok (if the sanitizers don't complain about it).
Tests have failed. |
This PR introduces a side effect for which I like to post a workaround. In detail, if one clones a fresh ClickHouse repository and checks out an old branch that does not have this PR yet, for example one of the v23.9 tags, then the checkout will fail: $ git switch --create v23.9.6.20-stable
fatal: failed to unpack tree object 7abd49bb2e72bf9a5029993d31dcb1872da88292
error: Submodule 'contrib/datasketches-cpp' could not be updated.
error: Cannot update submodule:
contrib/datasketches-cpp
Aborting This is because the old repository location (https://github.com/ClickHouse/datasketches-cpp) is not registered as a remote in the submodule. To fix this, do that: $ cd contrib/datasketches-cpp
$ git remote add ClickHouse https://github.com/ClickHouse/datasketches-cpp.git
$ git fetch ClickHouse
$ cd ..
$ git switch --create v23.9.6.20-stable |
You can also checkout the branch/tag and update the submodules, for example:
This works everytime for me. and in fact is part of the build command I use whenever submodules are updated. |
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Use upstream repo for apache datasketches.
We created our own fork but till this time it contains only one bug fix that is now exists in the upstream.