This is an automated email from the ASF dual-hosted git repository.
dataroaring 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 c866e401886 [fix](regression) fix accidental failure by sample analyze
(#33498)
c866e401886 is described below
commit c866e401886362b30e5df346256fe5d6c2c375e6
Author: zhengyu <[email protected]>
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 <[email protected]>
---
.../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: [email protected]
For additional commands, e-mail: [email protected]