mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-12 09:22:05 +00:00
fix
This commit is contained in:
parent
f90cdca498
commit
33cf4c96e6
@ -531,9 +531,7 @@ namespace DB
|
||||
for (const auto index_part : part->index_parts) {
|
||||
const auto condition = index_part->createIndexConditionOnPart(
|
||||
query_info, context, index_part->index->sample.getNames(), index_part->index->expr);
|
||||
if (condition->alwaysUnknownOrTrue()) {
|
||||
continue;
|
||||
} else {
|
||||
if (!condition->alwaysUnknownOrTrue()) {
|
||||
ranges.ranges = condition->filterRanges(ranges.ranges);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user