mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Update MergeTreeIndexSet.cpp
This commit is contained in:
parent
31f0b2f741
commit
e18fa68f3d
@ -291,7 +291,7 @@ bool MergeTreeIndexConditionSet::mayBeTrueOnGranule(MergeTreeIndexGranulePtr idx
|
||||
const auto & column = result.getByPosition(result.columns() - 1).column;
|
||||
|
||||
for (size_t i = 0; i < size; ++i)
|
||||
if (column->getUInt(i) & 1)
|
||||
if (!column->isNullAt(i) && (column->get64(i) & 1))
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user