Skip to content

Commit

Permalink
[opt](nereids) hbo fix pb
Browse files Browse the repository at this point in the history
  • Loading branch information
xzj7019 committed Dec 17, 2024
1 parent 24f5925 commit 8ea0224
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion be/src/runtime/runtime_query_statistics_mgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,11 @@ void RuntimeQueryStatisticsMgr::report_runtime_query_statistics() {
// 2.2 send report
TReportWorkloadRuntimeStatusParams report_runtime_params;
report_runtime_params.__set_backend_id(be_id);
std::map<std::string, TQueryStatistics> temp_map = qs_map;
for (const auto& entry : qs_map) {
std::string query_id = entry.first;
TQueryStatistics temp_qs = entry.second;
LOG(INFO) << "zxiong10 " << query_id << " size: " << temp_qs.node_exec_stats_items.size();
}

report_runtime_params.__set_query_statistics_map(qs_map);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ public void updateBeQueryStats(TReportWorkloadRuntimeStatusParams params) {
for (Map.Entry<String, TQueryStatistics> entry : params.query_statistics_map.entrySet()) {
beReportInfo.queryStatsMap.put(entry.getKey(), Pair.of(currentTime, (TQueryStatistics) entry.getValue()));
}

}

void clearReportTimeoutBeStatistics() {
Expand Down

0 comments on commit 8ea0224

Please sign in to comment.