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

yiguolei pushed a commit to branch branch-1.1-lts
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-1.1-lts by this push:
     new 339d470c4e [fix](column) ColumnNullable::replace_column_data should 
DCHECK size > self_row (#12557)
339d470c4e is described below

commit 339d470c4e7f2277a95654604e06c7b3e60dec0a
Author: Yongqiang YANG <98214048+dataroar...@users.noreply.github.com>
AuthorDate: Wed Sep 14 09:04:34 2022 +0800

    [fix](column) ColumnNullable::replace_column_data should DCHECK size > 
self_row (#12557)
---
 be/src/vec/columns/column_nullable.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/vec/columns/column_nullable.h 
b/be/src/vec/columns/column_nullable.h
index 5bbab17520..140817c6c8 100644
--- a/be/src/vec/columns/column_nullable.h
+++ b/be/src/vec/columns/column_nullable.h
@@ -254,7 +254,7 @@ public:
     }
 
     void replace_column_data(const IColumn& rhs, size_t row, size_t self_row = 
0) override {
-        DCHECK(size() > 1);
+        DCHECK(size() > self_row);
         const ColumnNullable& nullable_rhs = assert_cast<const 
ColumnNullable&>(rhs);
         null_map->replace_column_data(*nullable_rhs.null_map, row, self_row);
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to