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

Function PrintTuple

be/src/util/debug-util.cc:227–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225}
226
227void PrintTuple(const Tuple* t, const TupleDescriptor& tuple_d, stringstream* out) {
228 // The whole tuple is null
229 if (t == nullptr) {
230 *out << "null";
231 return;
232 }
233 *out << "(";
234 for (int i = 0; i < tuple_d.slots().size(); ++i) {
235 if (i != 0) {
236 *out << " ";
237 }
238 const SlotDescriptor& slot_d = *tuple_d.slots()[i];
239 PrintSlot(t, slot_d, out);
240 }
241 *out << ")";
242}
243
244string PrintTuple(const Tuple* t, const TupleDescriptor& tuple_d) {
245 stringstream out;

Callers 3

GetLeftChildRowStringMethod · 0.85
PrintCollectionFunction · 0.85
PrintRowFunction · 0.85

Calls 3

PrintSlotFunction · 0.85
sizeMethod · 0.45
strMethod · 0.45

Tested by

no test coverage detected