HappenLee commented on code in PR #65482:
URL: https://github.com/apache/doris/pull/65482#discussion_r3581290692
##########
be/src/exec/pipeline/pipeline_fragment_context.cpp:
##########
@@ -1519,9 +1519,24 @@ Status
PipelineFragmentContext::_create_operator(ObjectPool* pool, const TPlanNo
bool fe_with_old_version = false;
switch (tnode.node_type) {
case TPlanNodeType::OLAP_SCAN_NODE: {
+ std::shared_ptr<QueryCacheRuntime> query_cache_runtime;
+ if (enable_query_cache) {
+ if (_query_cache_runtime == nullptr) {
Review Comment:
cache operator should create the _query_cache_runtime before, if here is
nullptr, should return error or throw exception or dcheck here?
--
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]