MCPcopy Create free account
hub / github.com/bytedance/bolt / makeNodeName

Method makeNodeName

bolt/substrait/SubstraitParser.cpp:135–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135std::string SubstraitParser::makeNodeName(int node_id, int col_idx) {
136 return fmt::format("n{}_{}", node_id, col_idx);
137}
138
139int SubstraitParser::getIdxFromNodeName(const std::string& nodeName) {
140 // Get the position of "_" in the function name.

Callers 2

toBoltPlanMethod · 0.80
TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.64