1 | #include "duckdb/execution/operator/join/physical_cross_product.hpp" |
---|---|
2 | #include "duckdb/execution/physical_plan_generator.hpp" |
3 | #include "duckdb/planner/operator/logical_cross_product.hpp" |
4 | |
5 | using namespace duckdb; |
6 | using namespace std; |
7 | |
8 | unique_ptr<PhysicalOperator> PhysicalPlanGenerator::CreatePlan(LogicalCrossProduct &op) { |
9 | assert(op.children.size() == 2); |
10 | |
11 | auto left = CreatePlan(*op.children[0]); |
12 | auto right = CreatePlan(*op.children[1]); |
13 | return make_unique<PhysicalCrossProduct>(op, move(left), move(right)); |
14 | } |
15 |