提交 64583516 编写于 作者: S slzhou

fix: filter unit is not removed when values and nulls are in the same block

上级 7ad54945
......@@ -2786,6 +2786,10 @@ int32_t filterRmUnitByRange(SFilterInfo *info, SDataStatis *pDataStatis, int32_t
info->blkUnitRes[k] = -1;
rmUnit = 1;
continue;
} else {
// when there are values and nulls in this block, no unit can produce all true
// or all false. so no unit can be removed
continue;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册