You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2020/06/10 14:32:17 UTC

[GitHub] [incubator-doris] wutiangan commented on a change in pull request #3820: [Spill To Disk] Analytic_Eval_Node Support Spill Disk and Del Some Unless Code

wutiangan commented on a change in pull request #3820:
URL: https://github.com/apache/incubator-doris/pull/3820#discussion_r438169214



##########
File path: be/src/runtime/data_stream_recvr.cc
##########
@@ -360,9 +360,14 @@ DataStreamRecvr::DataStreamRecvr(
             _row_desc(row_desc),
             _is_merging(is_merging),
             _num_buffered_bytes(0),
-            _profile(profile),
             _sub_plan_query_statistics_recvr(sub_plan_query_statistics_recvr) {
-    _mem_tracker.reset(new MemTracker(-1, "DataStreamRecvr", parent_tracker));
+    _profile.reset(new RuntimeProfile(nullptr, "DataStreamRecvr"));
+    profile->add_child(_profile.get(), true, nullptr);

Review comment:
       ```suggestion
       _profile->add_child(_profile.get(), true, nullptr);
   ```




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org