This is an automated email from the ASF dual-hosted git repository. eldenmoon pushed a commit to branch branch-2.0 in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.0 by this push: new a4286202bc fix using unique_ptr after std::move (#23916) a4286202bc is described below commit a4286202bc4e76eca288fecfc0e263d69c830cb6 Author: Kang <kxiao.ti...@gmail.com> AuthorDate: Tue Sep 5 17:06:46 2023 +0800 fix using unique_ptr after std::move (#23916) --- be/src/olap/rowset/segment_v2/column_writer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/src/olap/rowset/segment_v2/column_writer.cpp b/be/src/olap/rowset/segment_v2/column_writer.cpp index 04431142fd..acf5c029d0 100644 --- a/be/src/olap/rowset/segment_v2/column_writer.cpp +++ b/be/src/olap/rowset/segment_v2/column_writer.cpp @@ -739,7 +739,7 @@ OffsetColumnWriter::OffsetColumnWriter(const ColumnWriterOptions& opts, std::unique_ptr<Field> field, io::FileWriter* file_writer) : ScalarColumnWriter(opts, std::move(field), file_writer) { // now we only explain data in offset column as uint64 - DCHECK(field->type() == FieldType::OLAP_FIELD_TYPE_UNSIGNED_BIGINT); + DCHECK(get_field()->type() == FieldType::OLAP_FIELD_TYPE_UNSIGNED_BIGINT); } OffsetColumnWriter::~OffsetColumnWriter() = default; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org