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 3b93d02c945 [fix](regression)Change analyze_timeout to global.
(#28587) (#28636)
3b93d02c945 is described below
commit 3b93d02c945563a58a93946bb059a102b861dd41
Author: Jibing-Li <[email protected]>
AuthorDate: Tue Dec 19 19:39:13 2023 +0800
[fix](regression)Change analyze_timeout to global. (#28587) (#28636)
---
.../external_table_p2/hive/test_hive_statistic_timeout.groovy | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git
a/regression-test/suites/external_table_p2/hive/test_hive_statistic_timeout.groovy
b/regression-test/suites/external_table_p2/hive/test_hive_statistic_timeout.groovy
index 2910666c444..a3329f87712 100644
---
a/regression-test/suites/external_table_p2/hive/test_hive_statistic_timeout.groovy
+++
b/regression-test/suites/external_table_p2/hive/test_hive_statistic_timeout.groovy
@@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.
-suite("test_hive_statistic_timeout",
"p2,external,hive,external_remote,external_remote_hive") {
+suite("test_hive_statistic_timeout",
"p2,external,hive,external_remote,external_remote_hive, nonConcurrent") {
String enabled = context.config.otherConfigs.get("enableExternalHiveTest")
if (enabled != null && enabled.equalsIgnoreCase("true")) {
String extHiveHmsHost =
context.config.otherConfigs.get("extHiveHmsHost")
@@ -32,11 +32,13 @@ suite("test_hive_statistic_timeout",
"p2,external,hive,external_remote,external_
logger.info("catalog " + catalog_name + " created")
sql """use ${catalog_name}.tpch_1000_parquet"""
- sql """set analyze_timeout=1"""
+ sql """set global analyze_timeout=1"""
try {
sql """analyze table part (p_partkey, p_container, p_type,
p_retailprice) with sync with full;"""
} catch (Exception e) {
assertTrue(e.getMessage().contains("Cancelled"));
+ } finally {
+ sql """set global analyze_timeout=43200"""
}
sql """drop catalog ${catalog_name}""";
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]