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 2026/04/12 02:52:04 UTC

(doris) branch branch-4.1 updated: [fix](test) Set parallel_pipeline_task_num explicitly in test_hive_compress_type_large_data. (#62396)

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

yiguolei pushed a commit to branch branch-4.1
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-4.1 by this push:
     new ff88a906e73 [fix](test) Set parallel_pipeline_task_num explicitly in test_hive_compress_type_large_data. (#62396)
ff88a906e73 is described below

commit ff88a906e7318f78d427fa149bbfa2a7883b4cac
Author: Qi Chen <ch...@selectdb.com>
AuthorDate: Sun Apr 12 10:51:54 2026 +0800

    [fix](test) Set parallel_pipeline_task_num explicitly in test_hive_compress_type_large_data. (#62396)
    
    ### What problem does this PR solve?
    
    Issue Number: close #xxx
    
    Related PR: #xxx
    
    Problem Summary:
    
    ### Release note
    
    Set `parallel_pipeline_task_num` explicitly so
    getParallelExecInstanceNum() returns a known value, regardless of fuzzy
    mode randomization or BE core count in
    test_hive_compress_type_large_data.
    
    ### Check List (For Author)
    
    - Test <!-- At least one of them must be included. -->
        - [ ] Regression test
        - [ ] Unit Test
        - [ ] Manual test (add detailed scripts or steps below)
        - [ ] No need to test or manual test. Explain why:
    - [ ] This is a refactor/code format and no logic has been changed.
            - [ ] Previous test can cover this change.
            - [ ] No code files have been changed.
            - [ ] Other reason <!-- Add your reason?  -->
    
    - Behavior changed:
        - [ ] No.
        - [ ] Yes. <!-- Explain the behavior change -->
    
    - Does this need documentation?
        - [ ] No.
    - [ ] Yes. <!-- Add document PR link here. eg:
    https://github.com/apache/doris-website/pull/1214 -->
    
    ### Check List (For Reviewer who merge this PR)
    
    - [ ] Confirm the release note
    - [ ] Confirm test cases
    - [ ] Confirm document
    - [ ] Add branch pick label <!-- Add branch pick label that this PR
    should merge into -->
---
 .../hive/test_hive_compress_type_large_data.groovy            | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/regression-test/suites/external_table_p2/hive/test_hive_compress_type_large_data.groovy b/regression-test/suites/external_table_p2/hive/test_hive_compress_type_large_data.groovy
index bc91195cfc7..3f9e45117ad 100644
--- a/regression-test/suites/external_table_p2/hive/test_hive_compress_type_large_data.groovy
+++ b/regression-test/suites/external_table_p2/hive/test_hive_compress_type_large_data.groovy
@@ -25,12 +25,11 @@ suite("test_hive_compress_type_large_data", "p2,external") {
     def backends = sql """show backends"""
     def backendNum = backends.size()
     logger.info("get backendNum: ${backendNum}")
-    // `parallel_fragment_exec_instance_num` may be displayed as
-    // `deprecated_parallel_fragment_exec_instance_num` in newer branches.
-    def parallelExecInstanceRows = sql("show variables like '%parallel_fragment_exec_instance_num%'")
-    assertTrue(parallelExecInstanceRows.size() > 0)
-    def parallelExecInstanceNum = (parallelExecInstanceRows[0][1] as String).toInteger()
-    logger.info("get ${parallelExecInstanceRows[0][0]}: ${parallelExecInstanceNum}")
+
+    // Set parallel_pipeline_task_num explicitly so getParallelExecInstanceNum() returns
+    // a known value, regardless of fuzzy mode randomization or BE core count.
+    def parallelExecInstanceNum = 8
+    sql """set parallel_pipeline_task_num = ${parallelExecInstanceNum}"""
 
     for (String hivePrefix : ["hive3"]) {
         String hms_port = context.config.otherConfigs.get(hivePrefix + "HmsPort")


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