This is an automated email from the ASF dual-hosted git repository. wangbo pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push: new 31399d5 [Bug][Vec] Fix the bug of coredump when vec exec engine with delete condition (#8109) 31399d5 is described below commit 31399d58762a2638b26ef6a6f000801dabc92b92 Author: HappenLee <happen...@hotmail.com> AuthorDate: Fri Feb 18 11:09:05 2022 +0800 [Bug][Vec] Fix the bug of coredump when vec exec engine with delete condition (#8109) Co-authored-by: lihaopeng <lihaop...@baidu.com> --- be/src/olap/row_block2.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/be/src/olap/row_block2.cpp b/be/src/olap/row_block2.cpp index 8883894..1c078a5 100644 --- a/be/src/olap/row_block2.cpp +++ b/be/src/olap/row_block2.cpp @@ -329,7 +329,8 @@ Status RowBlockV2::_copy_data_to_column(int cid, doris::vectorized::MutableColum } Status RowBlockV2::convert_to_vec_block(vectorized::Block* block) { - for (int i = 0; i < _schema.column_ids().size(); ++i) { + DCHECK_LE(block->columns(), _schema.column_ids().size()); + for (int i = 0; i < block->columns(); ++i) { auto cid = _schema.column_ids()[i]; auto column = (*std::move(block->get_by_position(i).column)).assume_mutable(); RETURN_IF_ERROR(_copy_data_to_column(cid, column)); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org