yiguolei commented on code in PR #70859:
URL: https://github.com/apache/doris/pull/70859#discussion_r4748763088
##########
be/src/exec/scan/olap_scanner.cpp:
##########
@@ -151,16 +152,15 @@ static bool has_file_cache_statistics(const
io::FileCacheStatistics& stats) {
io::IOContext build_score_runtime_collection_io_context(RuntimeState* state,
ReaderType reader_type,
int64_t
expiration_time,
io::FileCacheStatistics* file_cache_stats) {
- io::IOContext io_ctx {
- .reader_type = reader_type,
- .expiration_time = expiration_time,
- .query_id = &state->query_id(),
- .file_cache_stats = file_cache_stats,
- .is_inverted_index = true,
- };
+ io::IOContext io_ctx;
if (auto* query_ctx = state->get_query_ctx(); query_ctx != nullptr) {
Review Comment:
这个query ctx 什么时候为null?
--
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]