This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-4.2
in repository https://gitbox.apache.org/repos/asf/doris.git
commit 3aa1a3c02854233eb40f7103060483ac5fc9c8cc
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sat Oct 10 09:27:37 2026 +0800
branch-4.1: [fix](regression-test) Make test_analyze independent of the SQL
cache #68829 (#68843)
Cherry-picked from #68829
Co-authored-by: yujun <[email protected]>
---
regression-test/suites/statistics/analyze_stats.groovy | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/regression-test/suites/statistics/analyze_stats.groovy
b/regression-test/suites/statistics/analyze_stats.groovy
index c0eaff54e2b..8f8a05e65e1 100644
--- a/regression-test/suites/statistics/analyze_stats.groovy
+++ b/regression-test/suites/statistics/analyze_stats.groovy
@@ -120,6 +120,12 @@ suite("test_analyze") {
SET forbid_unknown_col_stats=false;
"""
+ // DROP STATS does not invalidate the SQL cache and the stats version is
not part of the cache
+ // key, so a cached SELECT is replayed without planning and
forbid_unknown_col_stats never fires.
+ sql """
+ SET enable_sql_cache=false;
+ """
+
sql """
SELECT * FROM ${tbl}
"""
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]