yiguolei commented on code in PR #32039:
URL: https://github.com/apache/doris/pull/32039#discussion_r1527669355


##########
be/src/vec/columns/subcolumn_tree.h:
##########
@@ -72,8 +90,10 @@ class SubcolumnsTree {
         }
 
         void add_child(std::string_view key, std::shared_ptr<Node> next_node) {
+            SCOPED_SWITCH_THREAD_MEM_TRACKER_LIMITER(
+                    ExecEnv::GetInstance()->subcolumns_tree_tracker());
             next_node->parent = this;
-            StringRef key_ref {strings_pool.insert(key.data(), key.length()), 
key.length()};
+            StringRef key_ref {strings_pool->insert(key.data(), key.length()), 
key.length()};

Review Comment:
   only  scope  line 96



-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

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


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

Reply via email to