This is an automated email from the ASF dual-hosted git repository.

morningman 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 2d9093fa0fb [branch-2.0][Fix](regression)case 
test_hive_schema_evolution  (#26271)
2d9093fa0fb is described below

commit 2d9093fa0fbd156e5cce987f64e3e4207bb29029
Author: zhangguoqiang <18372634...@163.com>
AuthorDate: Thu Nov 2 11:52:06 2023 +0800

    [branch-2.0][Fix](regression)case test_hive_schema_evolution  (#26271)
    
    fix case test_hive_schema_evolution
---
 .../hive/test_hive_schema_evolution.out                            | 0
 .../hive/test_hive_schema_evolution.groovy                         | 7 +++++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git 
a/regression-test/data/external_table_p2/hive/test_hive_schema_evolution.out 
b/regression-test/data/external_table_p0/hive/test_hive_schema_evolution.out
similarity index 100%
rename from 
regression-test/data/external_table_p2/hive/test_hive_schema_evolution.out
rename to 
regression-test/data/external_table_p0/hive/test_hive_schema_evolution.out
diff --git 
a/regression-test/suites/external_table_p2/hive/test_hive_schema_evolution.groovy
 
b/regression-test/suites/external_table_p0/hive/test_hive_schema_evolution.groovy
similarity index 88%
rename from 
regression-test/suites/external_table_p2/hive/test_hive_schema_evolution.groovy
rename to 
regression-test/suites/external_table_p0/hive/test_hive_schema_evolution.groovy
index 2cbe589e8b2..d06e3759eee 100644
--- 
a/regression-test/suites/external_table_p2/hive/test_hive_schema_evolution.groovy
+++ 
b/regression-test/suites/external_table_p0/hive/test_hive_schema_evolution.groovy
@@ -15,7 +15,7 @@
 // specific language governing permissions and limitations
 // under the License.
 
-suite("test_hive_schema_evolution", "p0") {
+suite("test_hive_schema_evolution", 
"p0,external,hive,external_docker,external_docker_hive") {
     def q_text = {
         qt_q01 """
         select * from schema_evo_test_text order by id;
@@ -53,6 +53,8 @@ suite("test_hive_schema_evolution", "p0") {
     }
 
     String enabled = context.config.otherConfigs.get("enableHiveTest")
+    String externalEnvIp = context.config.otherConfigs.get("externalEnvIp")
+
     if (enabled != null && enabled.equalsIgnoreCase("true")) {
         try {
             String hms_port = context.config.otherConfigs.get("hms_port")
@@ -60,8 +62,9 @@ suite("test_hive_schema_evolution", "p0") {
             sql """drop catalog if exists ${catalog_name}"""
             sql """create catalog if not exists ${catalog_name} properties (
                 "type"="hms",
-                'hive.metastore.uris' = 'thrift://127.0.0.1:${hms_port}'
+                'hive.metastore.uris' = 'thrift://${externalEnvIp}:${hms_port}'
             );"""
+            sql """switch ${catalog_name}"""
             sql """use `${catalog_name}`.`default`"""
 
             q_text()


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to