This is an automated email from the ASF dual-hosted git repository. dataroaring pushed a commit to branch compaction_opt in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/compaction_opt by this push: new a49a5084a3 [bugfix](compaction) fix nullable key coder (#14296) a49a5084a3 is described below commit a49a5084a3118694f67d5061f6afd0159b2d9ce8 Author: yixiutt <102007456+yixi...@users.noreply.github.com> AuthorDate: Tue Nov 15 21:08:32 2022 +0800 [bugfix](compaction) fix nullable key coder (#14296) --- be/src/olap/rowset/segment_v2/segment_writer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/be/src/olap/rowset/segment_v2/segment_writer.cpp b/be/src/olap/rowset/segment_v2/segment_writer.cpp index 284738e97d..fab0b91462 100644 --- a/be/src/olap/rowset/segment_v2/segment_writer.cpp +++ b/be/src/olap/rowset/segment_v2/segment_writer.cpp @@ -257,6 +257,7 @@ std::string SegmentWriter::_full_encode_keys( } else { encoded_keys.push_back(KEY_NULL_LAST_MARKER); } + ++cid; continue; } encoded_keys.push_back(KEY_NORMAL_MARKER); @@ -281,6 +282,7 @@ std::string SegmentWriter::_encode_keys( } else { encoded_keys.push_back(KEY_NULL_LAST_MARKER); } + ++cid; continue; } encoded_keys.push_back(KEY_NORMAL_MARKER); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org