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

Method DummyNode

cpp/src/arrow/acero/test_util_internal.cc:77–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75
76struct DummyNode : ExecNode {
77 DummyNode(ExecPlan* plan, NodeVector inputs, bool is_sink,
78 StartProducingFunc start_producing, StopProducingFunc stop_producing)
79 : ExecNode(plan, std::move(inputs), {}, (is_sink) ? nullptr : dummy_schema()),
80 start_producing_(std::move(start_producing)),
81 stop_producing_(std::move(stop_producing)) {
82 input_labels_.resize(inputs_.size());
83 for (size_t i = 0; i < input_labels_.size(); ++i) {
84 input_labels_[i] = std::to_string(i);
85 }
86 }
87
88 const char* kind_name() const override { return "Dummy"; }
89

Callers

nothing calls this directly

Calls 3

to_stringFunction · 0.85
resizeMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected