MCPcopy Create free account
hub / github.com/apache/impala / GenerateFragmentNodeId

Function GenerateFragmentNodeId

be/src/exec/tuple-cache-node.cc:253–258  ·  view source on GitHub ↗

Helper function to generate the unique id based on fragment instance id and node id.

Source from the content-addressed store, hash-verified

251
252// Helper function to generate the unique id based on fragment instance id and node id.
253static string GenerateFragmentNodeId(
254 const RuntimeState* state, const TupleCacheNode* node) {
255 DCHECK(state != nullptr);
256 DCHECK(node != nullptr);
257 return Substitute("$0_$1", PrintId(state->fragment_instance_id()), node->id());
258}
259
260Status TupleCacheNode::GetNext(
261 RuntimeState* state, RowBatch* output_row_batch, bool* eos) {

Callers 2

GetNextMethod · 0.85
GetDebugDumpPathMethod · 0.85

Calls 3

SubstituteFunction · 0.85
PrintIdFunction · 0.85
idMethod · 0.45

Tested by

no test coverage detected