check part_rowbatch_list is empty (#5727)
Co-authored-by: wangxixu <wangxixu@xiaomi.com>
This commit is contained in:
3
be/src/runtime/cache/result_cache.cpp
vendored
3
be/src/runtime/cache/result_cache.cpp
vendored
@ -140,6 +140,9 @@ void ResultCache::fetch(const PFetchCacheRequest* request, PFetchCacheResult* re
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (part_rowbatch_list.empty()) {
|
||||
status = PCacheStatus::EMPTY_DATA;
|
||||
}
|
||||
result->set_status(status);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user