You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by yi...@apache.org on 2022/05/26 07:05:33 UTC

[incubator-doris] branch master updated: [Improvement] remove unused code in vectorized compaction (#9774)

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/incubator-doris.git


The following commit(s) were added to refs/heads/master by this push:
     new cd99c24844 [Improvement] remove unused code in vectorized compaction (#9774)
cd99c24844 is described below

commit cd99c24844f3d4cdaaa02a856705c70c2d2042b0
Author: Gabriel <ga...@gmail.com>
AuthorDate: Thu May 26 15:05:27 2022 +0800

    [Improvement] remove unused code in vectorized compaction (#9774)
---
 be/src/vec/olap/vcollect_iterator.cpp | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/be/src/vec/olap/vcollect_iterator.cpp b/be/src/vec/olap/vcollect_iterator.cpp
index e100dcfeb2..59df40bac2 100644
--- a/be/src/vec/olap/vcollect_iterator.cpp
+++ b/be/src/vec/olap/vcollect_iterator.cpp
@@ -414,11 +414,7 @@ Status VCollectIterator::Level1Iterator::_merge_next(Block* block) {
         ++target_block_row;
         auto res = _merge_next(&cur_row);
         if (UNLIKELY(res.precise_code() == OLAP_ERR_DATA_EOF)) {
-            if (target_block_row > 0) {
-                return Status::OK();
-            } else {
-                return res;
-            }
+            return res;
         }
 
         if (UNLIKELY(!res.ok())) {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org