1#include "duckdb/execution/operator/helper/physical_execute.hpp"
2
3#include "duckdb/parallel/meta_pipeline.hpp"
4
5namespace duckdb {
6
7PhysicalExecute::PhysicalExecute(PhysicalOperator &plan)
8 : PhysicalOperator(PhysicalOperatorType::EXECUTE, plan.types, -1), plan(plan) {
9}
10
11vector<const_reference<PhysicalOperator>> PhysicalExecute::GetChildren() const {
12 return {plan};
13}
14
15void PhysicalExecute::BuildPipelines(Pipeline &current, MetaPipeline &meta_pipeline) {
16 // EXECUTE statement: build pipeline on child
17 meta_pipeline.Build(op&: plan);
18}
19
20} // namespace duckdb
21