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

Function WriteEvent

be/src/exec/system-table-scanner.cc:168–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168static void WriteEvent(const QueryStateExpanded& query, const SlotDescriptor* slot_desc,
169 void* slot, QueryEvent name) {
170 const auto& event = query.events.find(name);
171 DCHECK(event != query.events.end());
172 WriteDecimalSlot(slot_desc->type(), event->second / NANOS_TO_MILLIS, slot);
173}
174
175Status QueryScanner::MaterializeNextTuple(
176 MemPool* pool, Tuple* tuple, const TupleDescriptor* tuple_desc) {

Callers 1

MaterializeNextTupleMethod · 0.85

Calls 4

WriteDecimalSlotFunction · 0.85
findMethod · 0.45
endMethod · 0.45
typeMethod · 0.45

Tested by

no test coverage detected