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

Method Make

cpp/src/arrow/acero/source_node.cc:308–318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

306 Ordering::Implicit()) {}
307
308 static Result<ExecNode*> Make(ExecPlan* plan, std::vector<ExecNode*> inputs,
309 const ExecNodeOptions& options) {
310 RETURN_NOT_OK(ValidateExecNodeInputs(plan, inputs, 0, "TableSourceNode"));
311 const auto& table_options = checked_cast<const TableSourceNodeOptions&>(options);
312 const auto& table = table_options.table;
313 const int64_t batch_size = table_options.max_batch_size;
314
315 RETURN_NOT_OK(ValidateTableSourceNodeInput(table, batch_size));
316
317 return plan->EmplaceNode<TableSourceNode>(plan, table, batch_size);
318 }
319
320 const char* kind_name() const override { return "TableSourceNode"; }
321

Callers

nothing calls this directly

Calls 1

ValidateExecNodeInputsFunction · 0.85

Tested by

no test coverage detected