Skip to content
This repository was archived by the owner on Feb 20, 2023. It is now read-only.

Index Scan + Index Join Limit #1422

Open
wants to merge 22 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Complete limit pushdown for join
thepinetree committed Dec 29, 2020
commit 0fd9405d370d8b8ca3b1d07802b3a734b5051c4c
2 changes: 2 additions & 0 deletions src/optimizer/physical_operators.cpp
Original file line number Diff line number Diff line change
@@ -287,7 +287,9 @@ Operator InnerIndexJoin::Make(
auto *join = new InnerIndexJoin();
join->tbl_oid_ = tbl_oid;
join->idx_oid_ = idx_oid;
join->scan_type_ = scan_type;
join->join_keys_ = std::move(join_keys);
join->join_predicates_ = std::move(join_predicates);
join->limit_exists_ = limit_exists;
join->limit_ = limit;
return Operator(common::ManagedPointer<BaseOperatorNodeContents>(join));