You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
20.8.14.4
affected all versions after #15228#15242
createtablefoo(A Int64, V Int64, S String) Engine=MergeTree partition by V order by A;
insert into foo selectnumber, number%5, ''from numbers(100000);
createtablefoo_mergeas foo ENGINE=Merge(currentDatabase(), '^foo');
selectcount(), B from foo_merge join
(select materialize('') as S, 5 B) x using S
where V =4group by B
Key condition: unknown
MinMax index condition: unknown
Selected 5 parts by date, 5 parts by key, 15 marks by primary key, 15 marks to read from5 ranges
Processed 100.00 thousand rows
selectcount(), B from foo_merge join
(select materialize('') as S, 5 B) x using S
where V =4and A =4group by B
Key condition: unknown
MinMax index condition: unknown
Selected 5 parts by date, 5 parts by key, 15 marks by primary key, 15 marks to read from5 ranges
Processed 100.00 thousand rows
without merge
selectcount(), B from foo join
(select materialize('') as S, 5 B) x using S
where V =4and A =4group by B
Key condition: unknown, (column 0in [4, 4]), and
MinMax index condition: (column 0in [4, 4]), unknown, and
Selected 1 parts by date, 1 parts by key, 1 marks by primary key, 1 marks to read from1 ranges
Processed 8.19 thousand rows
WA (subquery):
selectcount(), B from (select*from foo_merge) f join
(select materialize('') as S, 5 B) x using S
where V =4and A =4group by B
Key condition: (column 0in [4, 4]), unknown, and
MinMax index condition: unknown, (column 0in [4, 4]), and
Selected 1 parts by date, 1 parts by key, 1 marks by primary key, 1 marks to read from1 ranges
Processed 8.19 thousand rows
The text was updated successfully, but these errors were encountered:
20.8.14.4
affected all versions after #15228 #15242
without merge
WA (subquery):
The text was updated successfully, but these errors were encountered: