You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2022/07/13 13:21:39 UTC
[doris] branch master updated: [fix](array) regression test fix for array (#10815)
This is an automated email from the ASF dual-hosted git repository.
morningman 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 4f4ce4674a [fix](array) regression test fix for array (#10815)
4f4ce4674a is described below
commit 4f4ce4674abc85255cecdf78038ee61471a475b7
Author: camby <10...@qq.com>
AuthorDate: Wed Jul 13 21:21:34 2022 +0800
[fix](array) regression test fix for array (#10815)
---
be/src/olap/rowset/segment_v2/column_writer.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/be/src/olap/rowset/segment_v2/column_writer.cpp b/be/src/olap/rowset/segment_v2/column_writer.cpp
index cf1e529838..cabc27605f 100644
--- a/be/src/olap/rowset/segment_v2/column_writer.cpp
+++ b/be/src/olap/rowset/segment_v2/column_writer.cpp
@@ -585,7 +585,9 @@ Status ArrayColumnWriter::append_data(const uint8_t** ptr, size_t num_rows) {
}
remaining -= num_written;
col_cursor += num_written;
+ *ptr += num_written * sizeof(CollectionValue);
}
+
if (is_nullable()) {
return write_null_column(num_rows, false);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org