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

Method Make

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

ValidateExecNodeInputsFunction · 0.85

Tested by

no test coverage detected