mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 18:12:02 +00:00
MergeTreeIndexGin crash fix
This commit is contained in:
parent
c7c5e29ff7
commit
bb56af0e2b
@ -655,7 +655,7 @@ bool MergeTreeConditionInverted::tryPrepareSetGinFilter(
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
ConstSetPtr prepared_set = rhs.tryGetPreparedSet();
|
ConstSetPtr prepared_set = rhs.tryGetPreparedSet();
|
||||||
if (!prepared_set && !prepared_set->hasExplicitSetElements())
|
if (!prepared_set || !prepared_set->hasExplicitSetElements())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
for (const auto & data_type : prepared_set->getDataTypes())
|
for (const auto & data_type : prepared_set->getDataTypes())
|
||||||
|
Loading…
Reference in New Issue
Block a user