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

Method ToProto

be/src/runtime/dml-exec-state.cc:483–492  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

481}
482
483void DmlExecState::ToProto(DmlExecStatusPB* dml_status) {
484 dml_status->Clear();
485 lock_guard<mutex> l(lock_);
486 for (const PartitionStatusMap::value_type& part : per_partition_status_) {
487 (*dml_status->mutable_per_partition_status())[part.first] = part.second;
488 }
489 *dml_status->mutable_data_files_referenced_by_position_deletes() =
490 {data_files_referenced_by_position_deletes_.begin(),
491 data_files_referenced_by_position_deletes_.end()};
492}
493
494void DmlExecState::ToTDmlResult(TDmlResult* dml_result) {
495 lock_guard<mutex> l(lock_);

Callers 2

CloseMethod · 0.80
GetStatusReportMethod · 0.80

Calls 3

ClearMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected