morningman commented on code in PR #17586:
URL: https://github.com/apache/doris/pull/17586#discussion_r1140901112


##########
be/src/io/fs/buffered_reader.cpp:
##########
@@ -67,8 +68,7 @@ Status BufferedFileStreamReader::read_bytes(const uint8_t** 
buf, uint64_t offset
     while (has_read < to_read) {
         size_t loop_read = 0;
         Slice resutl(_buf.get() + buf_remaining + has_read, to_read - 
has_read);
-        IOContext io_context;
-        RETURN_IF_ERROR(_file->read_at(_buf_end_offset + has_read, resutl, 
io_context, &loop_read));
+        RETURN_IF_ERROR(_file->read_at(_buf_end_offset + has_read, resutl, 
&loop_read));

Review Comment:
   Here I just removed unused `IOContext`, not modify the origin logic.
   Maybe we can add `IOContext` in `ScalarColumnReader` in next PR.



-- 
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]

Reply via email to