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

Merge pull request #16740 from taosdata/szhou/2.4/fixbugs

fix: filter unit is keeped when values and nulls exist in 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" }
......@@ -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.
先完成此消息的编辑!
想要评论请 注册