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

dataroaring pushed a commit to branch branch-4.0-preview
in repository https://gitbox.apache.org/repos/asf/doris.git

commit 464025fc1c40afb96260d66c5c4554716598a84f
Author: zhengyu <freeman.zhang1...@gmail.com>
AuthorDate: Thu Apr 11 20:45:15 2024 +0800

    [fix](regression) fix accidental failure by sample analyze (#33498)
    
    sample analyze will delay the update the show stats result.
    check for outdated value may cause cloud regression to failure.
    
    Signed-off-by: freemandealer <freeman.zhang1...@gmail.com>
---
 .../suites/statistics/analyze_stats_partition_first_load.groovy          | 1 +
 regression-test/suites/statistics/test_basic_statistics.groovy           | 1 +
 2 files changed, 2 insertions(+)

diff --git 
a/regression-test/suites/statistics/analyze_stats_partition_first_load.groovy 
b/regression-test/suites/statistics/analyze_stats_partition_first_load.groovy
index f5d2d33d928..d25ff8086c4 100644
--- 
a/regression-test/suites/statistics/analyze_stats_partition_first_load.groovy
+++ 
b/regression-test/suites/statistics/analyze_stats_partition_first_load.groovy
@@ -20,6 +20,7 @@ import java.util.stream.Collectors
 
 suite("test_analyze_partition_first_load") {
     String tbl = "partition_first_load_test"
+    sql """set global force_sample_analyze=false"""
 
     sql """
         DROP TABLE IF EXISTS `$tbl`
diff --git a/regression-test/suites/statistics/test_basic_statistics.groovy 
b/regression-test/suites/statistics/test_basic_statistics.groovy
index b6cbc25cc8b..f5bf5ec341a 100644
--- a/regression-test/suites/statistics/test_basic_statistics.groovy
+++ b/regression-test/suites/statistics/test_basic_statistics.groovy
@@ -18,6 +18,7 @@
 suite("test_basic_statistics") {
     String db = "test_basic_statistics"
     String tbl = "test_table_1"
+    sql """set global force_sample_analyze=false"""
 
     sql """
         DROP DATABASE IF EXISTS `${db}`


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

Reply via email to