This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.1 by this push:
new d7c3369ce7b [regression](case)fix mc regression test p2 case. #42217
(#42274)
d7c3369ce7b is described below
commit d7c3369ce7b09181c577ce5f54a931d34f4714d8
Author: Rayner Chen <[email protected]>
AuthorDate: Tue Oct 22 23:43:51 2024 +0800
[regression](case)fix mc regression test p2 case. #42217 (#42274)
cherry pick from #42217
Co-authored-by: daidai <[email protected]>
---
.../maxcompute/test_external_catalog_maxcompute.groovy | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git
a/regression-test/suites/external_table_p2/maxcompute/test_external_catalog_maxcompute.groovy
b/regression-test/suites/external_table_p2/maxcompute/test_external_catalog_maxcompute.groovy
index 0539dde5981..3f0929b59ea 100644
---
a/regression-test/suites/external_table_p2/maxcompute/test_external_catalog_maxcompute.groovy
+++
b/regression-test/suites/external_table_p2/maxcompute/test_external_catalog_maxcompute.groovy
@@ -392,6 +392,19 @@ suite("test_external_catalog_maxcompute",
"p2,external,maxcompute,external_remot
order_qt_multi_partition_q10 """ select pt, yy, mm, dd from
multi_partitions where pt >= 2 and create_time > '2023-08-03 03:11:00' order by
pt, yy, mm, dd; """
+
+
+ sql """
+ create catalog if not exists ${mc_catalog_name}_2 properties (
+ "type" = "max_compute",
+ "mc.default.project" = "other_mc_datalake_test",
+ "mc.access_key" = "${ak}",
+ "mc.secret_key" = "${sk}",
+ "mc.endpoint" =
"http://service.cn-beijing-vpc.maxcompute.aliyun-inc.com/api"
+ );
+ """
+ sql """ switch `${mc_catalog_name}_2` """
+
//other db
sql """ use other_mc_datalake_test """
order_qt_other_db_show """ show tables ; """
@@ -400,7 +413,7 @@ suite("test_external_catalog_maxcompute",
"p2,external,maxcompute,external_remot
order_qt_other_db_show_partiton """show partitions from
other_db_mc_parts;"""
-
+ sql """ switch `${mc_catalog_name}`; """
sql """ use `${mc_db}`; """
//test null value
order_qt_null_1 """ select * from mc_test_null; """
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]