This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.1 by this push:
new b8214952a1b [branch-2.1] Fix `is_partial_update` parameter is not set
in `append_block_with_partial_content()` (#41865)
b8214952a1b is described below
commit b8214952a1bd387b230d15c73e594029daa0fe56
Author: bobhan1 <[email protected]>
AuthorDate: Thu Oct 17 12:44:41 2024 +0800
[branch-2.1] Fix `is_partial_update` parameter is not set in
`append_block_with_partial_content()` (#41865)
https://github.com/apache/doris/pull/41439 forgets to set
`is_partial_update` parameter for `Tablet::lookup_row_key()` in
`append_block_with_partial_content()`
---
be/src/olap/rowset/segment_v2/segment_writer.cpp | 2 +-
be/src/olap/rowset/segment_v2/vertical_segment_writer.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/be/src/olap/rowset/segment_v2/segment_writer.cpp
b/be/src/olap/rowset/segment_v2/segment_writer.cpp
index 5c489502239..72dd5d70ce7 100644
--- a/be/src/olap/rowset/segment_v2/segment_writer.cpp
+++ b/be/src/olap/rowset/segment_v2/segment_writer.cpp
@@ -481,7 +481,7 @@ Status
SegmentWriter::append_block_with_partial_content(const vectorized::Block*
RowsetSharedPtr rowset;
auto st = tablet->lookup_row_key(key, _tablet_schema.get(),
have_input_seq_column,
specified_rowsets, &loc,
_mow_context->max_version,
- segment_caches, &rowset);
+ segment_caches, &rowset, true, true);
if (st.is<KEY_NOT_FOUND>()) {
if (_opts.rowset_ctx->partial_update_info->is_strict_mode) {
++num_rows_filtered;
diff --git a/be/src/olap/rowset/segment_v2/vertical_segment_writer.cpp
b/be/src/olap/rowset/segment_v2/vertical_segment_writer.cpp
index 202c859804b..c49a827e259 100644
--- a/be/src/olap/rowset/segment_v2/vertical_segment_writer.cpp
+++ b/be/src/olap/rowset/segment_v2/vertical_segment_writer.cpp
@@ -427,7 +427,7 @@ Status
VerticalSegmentWriter::_append_block_with_partial_content(RowsInBlock& da
RowsetSharedPtr rowset;
auto st = tablet->lookup_row_key(key, _tablet_schema.get(),
have_input_seq_column,
specified_rowsets, &loc,
_mow_context->max_version,
- segment_caches, &rowset);
+ segment_caches, &rowset, true, true);
if (st.is<KEY_NOT_FOUND>()) {
if (_opts.rowset_ctx->partial_update_info->is_strict_mode) {
++num_rows_filtered;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]