Counterexample

This commit is contained in:
Michael Kolupaev 2024-02-19 13:29:54 +00:00 committed by Alexey Milovidov
parent ba157a10fd
commit 865ae80e7c
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,6 @@
create table b (x Int64, y String) engine MergeTree order by (x, y) settings index_granularity=2;
insert into b values (0, 'a'), (1, 'b'), (1, 'c');
select count() from b where x = 1 and y = 'b';
detach table b;
attach table b;
select count() from b where x = 1 and y = 'b';