This is an automated email from the ASF dual-hosted git repository. xuyang pushed a commit to branch branch-1.2-lts in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-1.2-lts by this push: new 65b7cd44408 [chore](code format) fix code format problem (#30658) 65b7cd44408 is described below commit 65b7cd444087f684fa9472fcc865b4d7bfd6726a Author: camby <camby...@tencent.com> AuthorDate: Thu Feb 1 11:51:03 2024 +0800 [chore](code format) fix code format problem (#30658) --- be/src/olap/row_cursor.cpp | 6 ++++-- be/src/runtime/export_sink.cpp | 2 -- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/be/src/olap/row_cursor.cpp b/be/src/olap/row_cursor.cpp index 33f5b0a0c79..ad20d7c3351 100644 --- a/be/src/olap/row_cursor.cpp +++ b/be/src/olap/row_cursor.cpp @@ -51,7 +51,8 @@ Status RowCursor::_init(const std::vector<uint32_t>& columns) { return Status::Error<INIT_FAILED>(); } _variable_len += column_schema(cid)->get_variable_len(); - if (_schema->column(cid)->type() == OLAP_FIELD_TYPE_STRING || _schema->column(cid)->type() == OLAP_FIELD_TYPE_JSONB) { + if (_schema->column(cid)->type() == OLAP_FIELD_TYPE_STRING || + _schema->column(cid)->type() == OLAP_FIELD_TYPE_JSONB) { ++_string_field_count; } } @@ -221,7 +222,8 @@ Status RowCursor::allocate_memory_for_string_type(TabletSchemaSPtr schema) { char** long_text_ptr = _long_text_buf; for (auto cid : _schema->column_ids()) { fixed_ptr = _fixed_buf + _schema->column_offset(cid); - if (_schema->column(cid)->type() == OLAP_FIELD_TYPE_STRING || _schema->column(cid)->type() == OLAP_FIELD_TYPE_JSONB) { + if (_schema->column(cid)->type() == OLAP_FIELD_TYPE_STRING || + _schema->column(cid)->type() == OLAP_FIELD_TYPE_JSONB) { Slice* slice = reinterpret_cast<Slice*>(fixed_ptr + 1); _schema->mutable_column(cid)->set_long_text_buf(long_text_ptr); slice->data = *(long_text_ptr); diff --git a/be/src/runtime/export_sink.cpp b/be/src/runtime/export_sink.cpp index 61e3f4e4c44..f709c182ec9 100644 --- a/be/src/runtime/export_sink.cpp +++ b/be/src/runtime/export_sink.cpp @@ -35,8 +35,6 @@ #include "util/types.h" #include "util/uid_util.h" - - namespace doris { ExportSink::ExportSink(ObjectPool* pool, const RowDescriptor& row_desc, --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org