MCPcopy Create free account
hub / github.com/apache/arrow / Make

Method Make

cpp/src/arrow/dataset/file_base.cc:579–591  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

577 }
578
579 static Result<acero::ExecNode*> Make(acero::ExecPlan* plan,
580 std::vector<acero::ExecNode*> inputs,
581 const acero::ExecNodeOptions& options) {
582 RETURN_NOT_OK(ValidateExecNodeInputs(plan, inputs, 1, "TeeNode"));
583
584 const WriteNodeOptions write_node_options =
585 checked_cast<const WriteNodeOptions&>(options);
586 const FileSystemDatasetWriteOptions& write_options = write_node_options.write_options;
587 const std::shared_ptr<Schema> schema = inputs[0]->output_schema();
588
589 return plan->EmplaceNode<TeeNode>(plan, std::move(inputs), std::move(schema),
590 std::move(write_options));
591 }
592
593 const char* kind_name() const override { return "TeeNode"; }
594

Callers

nothing calls this directly

Calls 1

ValidateExecNodeInputsFunction · 0.85

Tested by

no test coverage detected