1 | #include "duckdb/catalog/catalog_entry/table_catalog_entry.hpp" |
---|---|
2 | #include "duckdb/execution/operator/schema/physical_create_index.hpp" |
3 | #include "duckdb/execution/physical_plan_generator.hpp" |
4 | #include "duckdb/planner/operator/logical_create_index.hpp" |
5 | |
6 | using namespace duckdb; |
7 | using namespace std; |
8 | |
9 | unique_ptr<PhysicalOperator> PhysicalPlanGenerator::CreatePlan(LogicalCreateIndex &op) { |
10 | assert(op.children.size() == 0); |
11 | dependencies.insert(&op.table); |
12 | return make_unique<PhysicalCreateIndex>(op, op.table, op.column_ids, move(op.expressions), move(op.info), |
13 | move(op.unbound_expressions)); |
14 | } |
15 |