Current section
Files
Jump to
Current section
Files
c_src/duckdb/src/execution/physical_plan/plan_any_join.cpp
#include "duckdb/execution/operator/join/physical_blockwise_nl_join.hpp"
#include "duckdb/execution/physical_plan_generator.hpp"
#include "duckdb/planner/operator/logical_any_join.hpp"
namespace duckdb {
unique_ptr<PhysicalOperator> PhysicalPlanGenerator::CreatePlan(LogicalAnyJoin &op) {
// first visit the child nodes
D_ASSERT(op.children.size() == 2);
D_ASSERT(op.condition);
auto left = CreatePlan(*op.children[0]);
auto right = CreatePlan(*op.children[1]);
// create the blockwise NL join
return make_unique<PhysicalBlockwiseNLJoin>(op, move(left), move(right), move(op.condition), op.join_type,
op.estimated_cardinality);
}
} // namespace duckdb