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

Method GetLeftChildRowString

be/src/exec/blocking-join-node.cc:377–392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

375}
376
377string BlockingJoinNode::GetLeftChildRowString(TupleRow* row) {
378 stringstream out;
379 out << "[";
380 int num_probe_tuple_rows = child(0)->row_desc()->tuple_descriptors().size();
381 for (int i = 0; i < row_desc()->tuple_descriptors().size(); ++i) {
382 if (i != 0) out << " ";
383 if (i >= num_probe_tuple_rows) {
384 // Build row is not yet populated, print NULL
385 out << PrintTuple(NULL, *row_desc()->tuple_descriptors()[i]);
386 } else {
387 out << PrintTuple(row->GetTuple(i), *row_desc()->tuple_descriptors()[i]);
388 }
389 }
390 out << "]";
391 return out.str();
392}
393
394int64_t BlockingJoinNode::LocalTimeCounterFn(const RuntimeProfile::Counter* total_time,
395 const RuntimeProfile::Counter* left_child_time,

Callers

nothing calls this directly

Calls 5

PrintTupleFunction · 0.85
sizeMethod · 0.45
row_descMethod · 0.45
GetTupleMethod · 0.45
strMethod · 0.45

Tested by

no test coverage detected