This is an automated email from the ASF dual-hosted git repository. cambyzju pushed a commit to branch branch-2.0 in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.0 by this push: new 0ad9600a52f [opt](mow) opt mow lookup with sequence column (#38287) (#38407) 0ad9600a52f is described below commit 0ad9600a52fecc3786ccfb543541fc0a9f5659f0 Author: camby <camby...@tencent.com> AuthorDate: Tue Jul 30 09:46:31 2024 +0800 [opt](mow) opt mow lookup with sequence column (#38287) (#38407) --- be/src/olap/rowset/segment_v2/segment_iterator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/src/olap/rowset/segment_v2/segment_iterator.cpp b/be/src/olap/rowset/segment_v2/segment_iterator.cpp index 919c6678463..4f819318fd2 100644 --- a/be/src/olap/rowset/segment_v2/segment_iterator.cpp +++ b/be/src/olap/rowset/segment_v2/segment_iterator.cpp @@ -1388,7 +1388,7 @@ Status SegmentIterator::_lookup_ordinal_from_pk_index(const RowCursor& key, bool // The sequence column needs to be removed from primary key index when comparing key bool has_seq_col = _segment->_tablet_schema->has_sequence_col(); - if (has_seq_col) { + if (has_seq_col && !exact_match) { size_t seq_col_length = _segment->_tablet_schema->column(_segment->_tablet_schema->sequence_col_idx()) .length() + --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org