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

Method ToStringExtra

cpp/src/arrow/acero/project_node.cc:105–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103
104 protected:
105 std::string ToStringExtra(int indent = 0) const override {
106 std::stringstream ss;
107 ss << "projection=[";
108 for (int i = 0; static_cast<size_t>(i) < exprs_.size(); i++) {
109 if (i > 0) ss << ", ";
110 auto repr = exprs_[i].ToString();
111 if (repr != output_schema_->field(i)->name()) {
112 ss << '"' << output_schema_->field(i)->name() << "\": ";
113 }
114 ss << repr;
115 }
116 ss << ']';
117 return ss.str();
118 }
119
120 private:
121 std::vector<Expression> exprs_;

Callers

nothing calls this directly

Calls 5

strMethod · 0.80
sizeMethod · 0.45
ToStringMethod · 0.45
nameMethod · 0.45
fieldMethod · 0.45

Tested by

no test coverage detected