This is an automated email from the ASF dual-hosted git repository.

zhangchen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new a5c73c7a39 [fix](partial update) set io_ctx.reader_type when reading 
columns for partial update (#22630)
a5c73c7a39 is described below

commit a5c73c7a39c9d6d1b84570c86351f6b3e1f45183
Author: bobhan1 <[email protected]>
AuthorDate: Wed Aug 16 19:34:39 2023 +0800

    [fix](partial update) set io_ctx.reader_type when reading columns for 
partial update (#22630)
---
 be/src/olap/tablet.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/be/src/olap/tablet.cpp b/be/src/olap/tablet.cpp
index 66890a3551..ba8e7445ad 100644
--- a/be/src/olap/tablet.cpp
+++ b/be/src/olap/tablet.cpp
@@ -2639,6 +2639,7 @@ Status 
Tablet::fetch_value_through_row_column(RowsetSharedPtr input_rowset, uint
     opt.file_reader = segment->file_reader().get();
     opt.stats = &stats;
     opt.use_page_cache = !config::disable_storage_page_cache;
+    opt.io_ctx.reader_type = ReaderType::READER_QUERY;
     column_iterator->init(opt);
     // get and parse tuple row
     vectorized::MutableColumnPtr column_ptr = 
vectorized::ColumnString::create();
@@ -2693,6 +2694,7 @@ Status Tablet::fetch_value_by_rowids(RowsetSharedPtr 
input_rowset, uint32_t segi
     opt.file_reader = segment->file_reader().get();
     opt.stats = &stats;
     opt.use_page_cache = !config::disable_storage_page_cache;
+    opt.io_ctx.reader_type = ReaderType::READER_QUERY;
     column_iterator->init(opt);
     RETURN_IF_ERROR(column_iterator->read_by_rowids(rowids.data(), 
rowids.size(), dst));
     return Status::OK();


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to