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
Fix named collections on cluster 23.7 #52687
Fix named collections on cluster 23.7 #52687
Conversation
@alkorgun, you are probably using an outdated compiler. We support clang-16 as a minimum version. |
This is an automated comment for commit 7725c53 with description of existing statuses. It's updated for the latest CI running
|
Yes, that's true, on openSUSE Leap I have only clang-15. Because it builds just fine except those 3 issues, I didn't feel I really had to upgrade my setup. But if I would make further contributions, I'll absolutely do upgrade. |
Current statusWorks fine:
Test cases: --- execute on the first node
create named collection foobar as a=1, b=2;
create named collection if not exists foobar on cluster '{cluster}' as a=1, b=2, c=3;
create named collection collection_present_on_first_node as a=1, b=2, s='string', x=0, y=-1;
--- execute on any other node
alter named collection foobar on cluster '{cluster}' set a=2, c=3;
alter named collection foobar on cluster '{cluster}' delete b;
alter named collection foobar on cluster '{cluster}' set a=3 delete c;
alter named collection if exists collection_absent_ewerywhere on cluster '{cluster}' delete b;
alter named collection if exists collection_present_on_first_node on cluster '{cluster}' delete b;
--- execute on every node
select * from system.named_collections;
--- execute on any node
drop named collection foobar on cluster '{cluster}';
drop named collection if exists collection_absent_ewerywhere on cluster '{cluster}';
drop named collection if exists collection_present_on_first_node on cluster '{cluster}';
--- execute on every node
select * from system.named_collections; |
Backport #52687 to 23.7: Fix named collections on cluster 23.7
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Fix named collections related statements:
if [not] exists
,on cluster
. Closes #51609.Documentation entry for user-facing changes