HappenLee commented on code in PR #60897:
URL: https://github.com/apache/doris/pull/60897#discussion_r2928624085
##########
be/src/storage/segment/condition_cache.h:
##########
@@ -69,6 +69,36 @@ class ConditionCache : public LRUCachePolicy {
std::shared_ptr<std::vector<bool>> filter_result;
};
+ // Cache key for external tables (Hive ORC/Parquet)
+ struct ExternalCacheKey {
+ ExternalCacheKey(const std::string& path_, int64_t modification_time_,
int64_t file_size_,
+ uint64_t digest_, int64_t start_offset_, int64_t
size_)
+ : path(path_),
+ modification_time(modification_time_),
+ file_size(file_size_),
+ digest(digest_),
+ start_offset(start_offset_),
+ size(size_) {}
+ std::string path;
+ int64_t modification_time;
+ int64_t file_size;
Review Comment:
why need file_size?
--
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]