This is an automated email from the ASF dual-hosted git repository. dataroaring pushed a commit to branch branch-3.0 in repository https://gitbox.apache.org/repos/asf/doris.git
commit d679a5ac3dc0b9b0ea3eef507c6edb4e4b9e89d5 Author: Jibing-Li <64681310+jibing...@users.noreply.github.com> AuthorDate: Thu Jun 13 18:10:35 2024 +0800 [fix](statistics)Fix stats analyze p0 case. (#36251) Fix stats p0 case. Def a variable before using it. --- regression-test/suites/statistics/analyze_stats.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/regression-test/suites/statistics/analyze_stats.groovy b/regression-test/suites/statistics/analyze_stats.groovy index efedd76108b..f5339b9f684 100644 --- a/regression-test/suites/statistics/analyze_stats.groovy +++ b/regression-test/suites/statistics/analyze_stats.groovy @@ -1178,7 +1178,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 @@ -2765,7 +2765,7 @@ 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]) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org