fix comments
This commit is contained in:
@@ -40,7 +40,7 @@ engine = ReplicatedMergeTree(
|
||||
order by id
|
||||
|
||||
alter table mdrozdov.clicks
|
||||
add index idx_country type set(100) GRANULARITY 2
|
||||
add index idx_country country type set(100) GRANULARITY 2
|
||||
|
||||
Explain
|
||||
select *
|
||||
@@ -59,7 +59,7 @@ engine = ReplicatedMergeTree(
|
||||
)
|
||||
order by id
|
||||
|
||||
ALTER TABLE users
|
||||
ALTER TABLE mdrozdov.users
|
||||
ADD INDEX idx_email email TYPE bloom_filter(0.01) GRANULARITY 2;
|
||||
|
||||
SELECT * FROM users WHERE email = 'alice@mail.com';
|
||||
SELECT * FROM mdrozdov.users WHERE email = 'alice@mail.com';
|
||||
Reference in New Issue
Block a user