This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 5dcf933012 [Bug](column) ColumnNullable::replace_column_data should
DCHECK size > sel… #12558
5dcf933012 is described below
commit 5dcf933012fa0785aa1272cad03377fd714745bd
Author: Yongqiang YANG <[email protected]>
AuthorDate: Wed Sep 14 08:42:15 2022 +0800
[Bug](column) ColumnNullable::replace_column_data should DCHECK size > sel…
#12558
---
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 cb399ab761..723e88c8b6 100644
--- a/be/src/vec/columns/column_nullable.h
+++ b/be/src/vec/columns/column_nullable.h
@@ -282,7 +282,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: [email protected]
For additional commands, e-mail: [email protected]