未验证 提交 a55dcf3e 编写于 作者: S Shengliang Guan 提交者: GitHub

Merge pull request #16739 from taosdata/szhou/2.6/fixbugs

fix: filter unit is not removed when values and nulls are in the same block
......@@ -6,5 +6,5 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
libtaos = { version = "0.4.3" }
tokio = { version = "*", features = ["rt", "macros", "rt-multi-thread"] }
bstr = { version = "*" }
tokio = { version = "1", features = ["rt", "macros", "rt-multi-thread"] }
bstr = { version = "0.2" }
......@@ -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.
先完成此消息的编辑!
想要评论请 注册