This is an automated email from the ASF dual-hosted git repository.

csun5285 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 1c72e84939a [fix](be) Pin  be exec version in segment test (#66465)
1c72e84939a is described below

commit 1c72e84939ab816b40556e5096f01c467e36e160
Author: Chenyang Sun <[email protected]>
AuthorDate: Wed Aug 5 22:48:20 2026 +0800

    [fix](be) Pin  be exec version in segment test (#66465)
    
    
    
    Related PR: #65977 , #66112
    
    `SegmentFlusherFormatTest` was added by #65977. Its BE UT pipeline ran
    before #66112 was merged and passed with BE exec version 10.
---
 be/test/storage/rowset/segment_flusher_format_test.cpp | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/be/test/storage/rowset/segment_flusher_format_test.cpp 
b/be/test/storage/rowset/segment_flusher_format_test.cpp
index 46164848de8..ea2258852cf 100644
--- a/be/test/storage/rowset/segment_flusher_format_test.cpp
+++ b/be/test/storage/rowset/segment_flusher_format_test.cpp
@@ -44,7 +44,6 @@
 #include <utility>
 #include <vector>
 
-#include "agent/be_exec_version_manager.h"
 #include "common/config.h"
 #include "common/consts.h"
 #include "common/status.h"
@@ -105,6 +104,9 @@ namespace {
 constexpr std::string_view kTestDir = "./ut_dir/segment_flusher_format_test";
 constexpr std::string_view kGoldenDir = 
"./be/test/storage/test_data/segment_flusher_format";
 constexpr std::string_view kGoldenOutputDirEnv = 
"DORIS_SEGMENT_FLUSHER_GOLDEN_OUTPUT_DIR";
+// BE exec version is encoded in the checked-in golden Segments. Change it 
only when intentionally
+// regenerating all golden files.
+constexpr int32_t kGoldenBeExecVersion = 10;
 constexpr int32_t kRowBinlogSystemColumnCount = 3;
 constexpr size_t kExpectedGoldenCaseCount = 76;
 constexpr size_t kExpectedGoldenSegmentCount = 154;
@@ -766,7 +768,7 @@ TabletSchemaSPtr 
create_complex_value_schema(TabletStorageFormatPB storage_forma
         auto* column = add_column(&schema_pb, unique_id, name, agg_state_type, 
false, false,
                                   function_name);
         column->set_result_is_nullable(false);
-        
column->set_be_exec_version(BeExecVersionManager::get_newest_version());
+        column->set_be_exec_version(kGoldenBeExecVersion);
         return column;
     };
     auto* count = add_agg_state_column(8, "v_agg_count", "count");


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to