This is an automated email from the ASF dual-hosted git repository. lijibing 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 30900b08077 [fix](statistics)Fix stats analyze p0 case. (#36251) (#36363) 30900b08077 is described below commit 30900b08077a3ce61d8bdc994f765613e2f402c7 Author: Jibing-Li <64681310+jibing...@users.noreply.github.com> AuthorDate: Mon Jun 17 11:56:25 2024 +0800 [fix](statistics)Fix stats analyze p0 case. (#36251) (#36363) Fix stats p0 case. Def a variable before using it. backport https://github.com/apache/doris/pull/36251 --- regression-test/suites/statistics/analyze_stats.groovy | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/regression-test/suites/statistics/analyze_stats.groovy b/regression-test/suites/statistics/analyze_stats.groovy index 9773a841e66..b6c416b0ffa 100644 --- a/regression-test/suites/statistics/analyze_stats.groovy +++ b/regression-test/suites/statistics/analyze_stats.groovy @@ -1166,7 +1166,7 @@ PARTITION `p599` VALUES IN (599) );""" sql """insert into test_analyze_specific_column values('%.', 2, 1);""" sql """ANALYZE TABLE test_analyze_specific_column(col2) WITH SYNC""" - result = sql """SHOW COLUMN STATS test_analyze_specific_column""" + def result = sql """SHOW COLUMN STATS test_analyze_specific_column""" assert result.size() == 1 // test escape sql @@ -2731,7 +2731,8 @@ PARTITION `p599` VALUES IN (599) // Test analyze default full. sql """analyze table trigger_test with sync""" - def result = sql """show column stats trigger_test""" + result = sql """show column stats trigger_test""" + logger.info("show column trigger_test stats: " + result) assertEquals(2, result.size()) assertEquals("4.0", result[0][2]) assertEquals("FULL", result[0][9]) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org