liuneng1994 commented on code in PR #6841:
URL: https://github.com/apache/incubator-gluten/pull/6841#discussion_r1722770664


##########
cpp-ch/local-engine/Common/QueryContext.cpp:
##########
@@ -85,6 +85,16 @@ DB::ContextMutablePtr 
QueryContextManager::currentQueryContext()
     return query_map.get(id)->query_context;
 }
 
+std::shared_ptr<DB::ThreadGroup> QueryContextManager::currentThreadGroup()

Review Comment:
   不需要这么复杂,直接返回currentThread::getGroup,不存在报错即可,这里会保证所有的线程都会attach到thread group



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to