1 | #include "duckdb/planner/tableref/bound_pivotref.hpp" |
---|---|
2 | #include "duckdb/planner/operator/logical_pivot.hpp" |
3 | |
4 | namespace duckdb { |
5 | |
6 | unique_ptr<LogicalOperator> Binder::CreatePlan(BoundPivotRef &ref) { |
7 | auto subquery = ref.child_binder->CreatePlan(ref&: *ref.child); |
8 | |
9 | auto result = make_uniq<LogicalPivot>(args&: ref.bind_index, args: std::move(subquery), args: std::move(ref.bound_pivot)); |
10 | return std::move(result); |
11 | } |
12 | |
13 | } // namespace duckdb |
14 |