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

yiguolei 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 774efe78e68 [fix](regression)fix maxcompute p0 case (#40933)
774efe78e68 is described below

commit 774efe78e6874cc1b6de1fc5488ea6c48710788f
Author: daidai <[email protected]>
AuthorDate: Thu Sep 19 01:09:53 2024 +0800

    [fix](regression)fix maxcompute p0 case (#40933)
    
    ## Proposed changes
    
    Issue Number: close #xxx
    
    <!--Describe your changes.-->
---
 .../external_table_p0/mc/test_max_compute_complex_type.out     | 10 +++++-----
 .../external_table_p0/mc/test_max_compute_complex_type.groovy  |  4 ++--
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git 
a/regression-test/data/external_table_p0/mc/test_max_compute_complex_type.out 
b/regression-test/data/external_table_p0/mc/test_max_compute_complex_type.out
index 86df55f16c5..5ae7d92e4ea 100644
--- 
a/regression-test/data/external_table_p0/mc/test_max_compute_complex_type.out
+++ 
b/regression-test/data/external_table_p0/mc/test_max_compute_complex_type.out
@@ -1,17 +1,17 @@
 -- This file is automatically generated. You should know what you did if you 
want to edit this
 -- !mc_q1 --
-3      [1.3]   [1, 2, 3]       ["2023-05-23 05:55:12.000"]     ["a", "b", "c"]
-2      [1.2, 1.3]      [1, 2, 3]       ["2023-05-23 05:55:12.000"]     ["a", 
"b", "c"]
-1      [1.2, 1.3]      [1, 2, 3]       ["2023-05-23 05:55:12.000"]     ["a", 
"b", "c"]
+3      [1.3]   [1, 2, 3]       ["2023-05-23 13:55:12.000"]     ["a", "b", "c"]
+2      [1.2, 1.3]      [1, 2, 3]       ["2023-05-23 13:55:12.000"]     ["a", 
"b", "c"]
+1      [1.2, 1.3]      [1, 2, 3]       ["2023-05-23 13:55:12.000"]     ["a", 
"b", "c"]
+1      [1.2, 1.3]      [1, 2, 3]       ["2023-05-23 13:55:12.000"]     ["a", 
"b", "c"]
 
 -- !mc_q2 --
 {1:"example1", 2:"example2"}   {1:2.5, 2:3.75}
 {349:"asd", 324:"uid"} {3:2.5, 99:3.75}
-
 -- !mc_q3 --
 {"phone_number":123450, "email":"[email protected]", "addr":"Addr1"}   
{"id":"user1", "age":25}
 {"phone_number":2345671, "email":"[email protected]", "addr":"Addr2"}  
{"id":"user2", "age":30}
 
 -- !mc_q4 --
 user1  [{"activity_date":"2024-08-01", 
"activities":{"cooking":{"details":"Made vegan meal", 
"metrics":{"time_spent":1.5, "calories":500}}, "movie":{"details":"Watched 
action movie", "metrics":{"time_spent":1.5, "calories":500}}}}, 
{"activity_date":"2024-08-02", "activities":{"cooking":{"details":"Made vegan 
meal", "metrics":{"time_spent":1.5, "calories":500}}, 
"movie":{"details":"Watched action movie", "metrics":{"time_spent":1.5, 
"calories":500}}}}]
-user2  [{"activity_date":"2024-08-01", 
"activities":{"cooking":{"details":"Made vegan meal", 
"metrics":{"time_spent":1.5, "calories":500}}, "movie":{"details":"Watched 
action movie", "metrics":{"time_spent":1.5, "calories":500}}}}, 
{"activity_date":"2024-08-02", "activities":{"cooking":{"details":"Made vegan 
meal", "metrics":{"time_spent":1.5, "calories":500}}, 
"movie":{"details":"Watched action movie", "metrics":{"time_spent":1.5, 
"calories":500}}}}]
+user1  [{"activity_date":"2024-08-01", 
"activities":{"cooking":{"details":"Made vegan meal", 
"metrics":{"time_spent":1.5, "calories":500}}, "movie":{"details":"Watched 
action movie", "metrics":{"time_spent":1.5, "calories":500}}}}, 
{"activity_date":"2024-08-02", "activities":{"cooking":{"details":"Made vegan 
meal", "metrics":{"time_spent":1.5, "calories":500}}, 
"movie":{"details":"Watched action movie", "metrics":{"time_spent":1.5, 
"calories":500}}}}]
diff --git 
a/regression-test/suites/external_table_p0/mc/test_max_compute_complex_type.groovy
 
b/regression-test/suites/external_table_p0/mc/test_max_compute_complex_type.groovy
index a3de3715f91..73248f20014 100644
--- 
a/regression-test/suites/external_table_p0/mc/test_max_compute_complex_type.groovy
+++ 
b/regression-test/suites/external_table_p0/mc/test_max_compute_complex_type.groovy
@@ -152,7 +152,7 @@ suite("test_max_compute_complex_type", 
"p0,external,doris,external_docker,extern
         sql """
         CREATE CATALOG IF NOT EXISTS ${mc_catalog_name} PROPERTIES (
                 "type" = "max_compute",
-                "mc.default.project" = "mc_datalake",
+                "mc.default.project" = "jz_datalake",
                 "mc.region" = "cn-beijing",
                 "mc.access_key" = "${ak}",
                 "mc.secret_key" = "${sk}",
@@ -163,7 +163,7 @@ suite("test_max_compute_complex_type", 
"p0,external,doris,external_docker,extern
         logger.info("catalog " + mc_catalog_name + " created")
         sql """switch ${mc_catalog_name};"""
         logger.info("switched to catalog " + mc_catalog_name)
-        sql """ use mc_datalake """
+        sql """ use jz_datalake """
 
         qt_mc_q1 """ select id,arr3,arr1,arr5,arr2 from array_table order by 
id desc """
         qt_mc_q2 """ select arr2,arr1 from map_table order by id limit 2 """


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to