wenzhenghu commented on code in PR #60583:
URL: https://github.com/apache/doris/pull/60583#discussion_r2846500610
##########
be/src/runtime/query_context.cpp:
##########
@@ -111,11 +111,12 @@ QueryContext::QueryContext(TUniqueId query_id, ExecEnv*
exec_env,
_timeout_second = query_options.execution_timeout;
- bool initialize_context_holder =
- config::enable_file_cache && config::enable_file_cache_query_limit
&&
- query_options.__isset.enable_file_cache &&
query_options.enable_file_cache &&
- query_options.__isset.file_cache_query_limit_percent &&
- query_options.file_cache_query_limit_percent < 100;
+ bool initialize_context_holder = config::enable_file_cache &&
+ config::enable_file_cache_query_limit &&
+ !(query_options.query_type ==
TQueryType::EXTERNAL &&
Review Comment:
很好,加下注释
--
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]