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

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


The following commit(s) were added to refs/heads/branch-2.0 by this push:
     new 05d3e475b25 [regression](statistics)fix analyze_stats p0 (#29697)
05d3e475b25 is described below

commit 05d3e475b25f548cc76fce95db80d9a99c49eaf6
Author: Jibing-Li <64681310+jibing...@users.noreply.github.com>
AuthorDate: Tue Jan 9 18:03:51 2024 +0800

    [regression](statistics)fix analyze_stats p0 (#29697)
---
 regression-test/suites/statistics/analyze_stats.groovy | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/regression-test/suites/statistics/analyze_stats.groovy 
b/regression-test/suites/statistics/analyze_stats.groovy
index 139ebff72c9..718f48bc72e 100644
--- a/regression-test/suites/statistics/analyze_stats.groovy
+++ b/regression-test/suites/statistics/analyze_stats.groovy
@@ -2642,6 +2642,7 @@ PARTITION `p599` VALUES IN (599)
      );
    """
    sql """insert into string_min_max values (1,'name1'), (2, 'name2')"""
+   sql """set forbid_unknown_col_stats=false"""
    explain {
        sql("select min(name), max(name) from string_min_max")
        contains "pushAggOp=NONE"
@@ -2651,6 +2652,7 @@ PARTITION `p599` VALUES IN (599)
        sql("select min(name), max(name) from string_min_max")
        contains "pushAggOp=MINMAX"
    }
+   sql """set forbid_unknown_col_stats=true"""
 
    // Test trigger type.
    sql """DROP DATABASE IF EXISTS trigger"""


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

Reply via email to