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

Function GetNodeIndex

cpp/src/arrow/acero/exec_plan.cc:355–361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353}
354
355std::optional<int> GetNodeIndex(const std::vector<ExecNode*>& nodes,
356 const ExecNode* node) {
357 for (int i = 0; i < static_cast<int>(nodes.size()); ++i) {
358 if (nodes[i] == node) return i;
359 }
360 return std::nullopt;
361}
362
363const char* kAceroAlignmentHandlingEnvVar = "ACERO_ALIGNMENT_HANDLING";
364

Callers 1

ValidateMethod · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected