Skip to content

Commit

Permalink
Add child operator pushdown in PushDownFilter of Optimizer
Browse files Browse the repository at this point in the history
Signed-off-by: Wenbo Li <lwb21@mails.tsinghua.edu.cn>
  • Loading branch information
hnjylwb committed May 14, 2024
1 parent 111b5fd commit 69556c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/optimizer/optimizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ std::shared_ptr<Operator> Optimizer::PushDownFilter(std::shared_ptr<Operator> pl
// 判断谓词是否为 Comparison 类型,如果是,判断是否为 ColumnValue 和 ColumnValue 的比较
// 若是,则该谓词为连接谓词;若不是,则该谓词为普通谓词
// LAB 5 BEGIN
plan->children_[0] = PushDown(plan->children_[0]);
return plan;
}

Expand Down

0 comments on commit 69556c0

Please sign in to comment.