Fix olap scan node normalize_in_and_eq_predicate infinite loop bug. (#10817)

This commit is contained in:
Jibing-Li
2022-07-14 14:54:57 +08:00
committed by GitHub
parent 799300c475
commit ca5dbb1bcc
2 changed files with 2 additions and 0 deletions

View File

@ -1078,6 +1078,7 @@ Status OlapScanNode::normalize_in_and_eq_predicate(SlotDescriptor* slot,
// column in (nullptr) is always false so continue to
// dispose next item
if (nullptr == iter->get_value()) {
iter->next();
continue;
}
auto value = const_cast<void*>(iter->get_value());