freemandealer commented on code in PR #55772:
URL: https://github.com/apache/doris/pull/55772#discussion_r2476656315
##########
be/src/runtime/query_context.cpp:
##########
@@ -110,6 +110,17 @@ 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.file_cache_query_limit_percent < 100;
Review Comment:
file_cache_query_limit_percent 是不是最好也判断一下 __isset ?
--
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]