This is an automated email from the ASF dual-hosted git repository. yiguolei 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 a9b1e7f876 [style](be) fix code format (#22471) a9b1e7f876 is described below commit a9b1e7f876989df0031f5028d0689088248d40ae Author: Kaijie Chen <c...@apache.org> AuthorDate: Sat Aug 5 00:37:25 2023 +0800 [style](be) fix code format (#22471) --- be/src/olap/memtable.cpp | 3 +-- be/test/olap/delta_writer_test.cpp | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/be/src/olap/memtable.cpp b/be/src/olap/memtable.cpp index 78860a1f65..e88be6b3ed 100644 --- a/be/src/olap/memtable.cpp +++ b/be/src/olap/memtable.cpp @@ -43,8 +43,8 @@ #include "runtime/exec_env.h" #include "runtime/load_channel_mgr.h" #include "runtime/thread_context.h" -#include "util/doris_metrics.h" #include "tablet_meta.h" +#include "util/doris_metrics.h" #include "util/runtime_profile.h" #include "util/stopwatch.hpp" #include "util/string_util.h" @@ -237,7 +237,6 @@ void MemTable::insert(const vectorized::Block* input_block, const std::vector<in void MemTable::_aggregate_two_row_in_block(vectorized::MutableBlock& mutable_block, RowInBlock* new_row, RowInBlock* row_in_skiplist) { - if (_tablet_schema->has_sequence_col() && _seq_col_idx_in_block >= 0) { DCHECK_LT(_seq_col_idx_in_block, mutable_block.columns()); auto col_ptr = mutable_block.mutable_columns()[_seq_col_idx_in_block].get(); diff --git a/be/test/olap/delta_writer_test.cpp b/be/test/olap/delta_writer_test.cpp index 9fd998ebd0..9c24c53510 100644 --- a/be/test/olap/delta_writer_test.cpp +++ b/be/test/olap/delta_writer_test.cpp @@ -789,9 +789,8 @@ TEST_F(TestDeltaWriter, vec_sequence_col_concurrent_write) { PUniqueId load_id; load_id.set_hi(0); load_id.set_lo(0); - WriteRequest write_req = { - 10005, 270068377, WriteType::LOAD, 20003, 30003, load_id, tuple_desc, &(tuple_desc->slots()), - false, ¶m}; + WriteRequest write_req = {10005, 270068377, WriteType::LOAD, 20003, 30003, + load_id, tuple_desc, &(tuple_desc->slots()), false, ¶m}; DeltaWriter* delta_writer1 = nullptr; DeltaWriter* delta_writer2 = nullptr; std::unique_ptr<RuntimeProfile> profile1; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org