提交 8f001630 编写于 作者: S slzhou

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

上级 10bb5d5f
......@@ -2787,6 +2787,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.
先完成此消息的编辑!
想要评论请 注册