gavinchou commented on code in PR #66932:
URL: https://github.com/apache/doris/pull/66932#discussion_r3810907176
##########
be/src/io/fs/file_reader.cpp:
##########
@@ -63,6 +63,10 @@ Status FileReader::read_at_iobuf_impl(size_t offset, size_t
bytes_req, butil::IO
Result<FileReaderSPtr> create_cached_file_reader(FileReaderSPtr raw_reader,
const FileReaderOptions&
opts) {
+ if (!raw_reader->supports_file_cache()) {
Review Comment:
why not use reader option `io::FileCachePolicy::NO_CACHE`
--
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]