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


##########
fe/fe-core/src/main/java/org/apache/doris/qe/ConnectContext.java:
##########
@@ -17,6 +17,7 @@
 
 package org.apache.doris.qe;
 

Review Comment:
   这个可能,写一个类  FlightConnectContext ,然后把flight 相关的代码都放到那个connect context 里面。 
用的时候如果threadlocal 里放的是connect context,可以强制cast 一下



##########
fe/fe-core/src/main/java/org/apache/doris/qe/ConnectContext.java:
##########
@@ -17,6 +17,7 @@
 
 package org.apache.doris.qe;
 

Review Comment:
   这个可能,写一个类  FlightConnectContext ,然后把flight 相关的代码都放到那个connect context 里面。 
用的时候如果threadlocal 里放的是connect context,可以强制cast 一下



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