Skip to content

Commit

Permalink
only return execute summaies if requested (#264)
Browse files Browse the repository at this point in the history
  • Loading branch information
windtalker authored and zanmato1984 committed Sep 30, 2019
1 parent 087faee commit 4aa2b58
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dbms/src/Flash/Coprocessor/DAGDriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ try
streams.in->getHeader());
copyData(*streams.in, *dag_output_stream);

if (!dag_request.has_collect_execution_summaries() || !dag_request.collect_execution_summaries())
return;
// add ExecutorExecutionSummary info
for (auto & p_streams : dag_context.profile_streams_list)
{
Expand Down

0 comments on commit 4aa2b58

Please sign in to comment.