[Improvement](vectorized) Remove row-based conjuncts on vectorized nodes (#11324)

This commit is contained in:
Gabriel
2022-07-29 15:42:06 +08:00
committed by GitHub
parent 4f8e66c4b3
commit 3fe7b21ac8
2 changed files with 5 additions and 5 deletions

View File

@ -526,8 +526,11 @@ public abstract class PlanNode extends TreeNode<PlanNode> implements PlanStats {
msg.addToRowTuples(tid.asInt());
msg.addToNullableTuples(nullableTupleIds.contains(tid));
}
for (Expr e : conjuncts) {
msg.addToConjuncts(e.treeToThrift());
// `conjuncts` is never needed on vectorized engine except scan nodes which use them as push-down predicates.
if (this instanceof ScanNode || !VectorizedUtil.isVectorized()) {
for (Expr e : conjuncts) {
msg.addToConjuncts(e.treeToThrift());
}
}
// Serialize any runtime filters