[fix](case) use the custom DB explicitly in analyze_stats.groovy (#25285)
Co-authored-by: stephen <hello-stephen@qq.com> use the custom DB explicitly in analyze_stats.groovy
This commit is contained in:
@ -29,6 +29,12 @@ suite("test_analyze") {
|
||||
CREATE DATABASE `${db}`
|
||||
"""
|
||||
|
||||
// regression framework will auto create an default DB with name regression_test_$(case dir name) and use it to run case,
|
||||
// if we do not use the default DB, here we should use the custom DB explicitly
|
||||
sql """
|
||||
USE `${db}`
|
||||
"""
|
||||
|
||||
sql """
|
||||
DROP TABLE IF EXISTS `${tbl}`
|
||||
"""
|
||||
@ -917,7 +923,7 @@ PARTITION `p599` VALUES IN (599)
|
||||
expected_col_stats(inc_res, 6, 1)
|
||||
|
||||
sql """
|
||||
DROP TABLE regression_test_statistics.increment_analyze_test;
|
||||
DROP TABLE increment_analyze_test;
|
||||
"""
|
||||
|
||||
sql """
|
||||
|
||||
Reference in New Issue
Block a user