eldenmoon commented on code in PR #47096:
URL: https://github.com/apache/doris/pull/47096#discussion_r1997829405


##########
regression-test/suites/schema_change_p0/test_modify_struct.groovy:
##########
@@ -0,0 +1,347 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied.  See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+import org.codehaus.groovy.runtime.IOGroovyMethods
+import java.util.concurrent.TimeUnit
+import org.awaitility.Awaitility
+
+// this groovy aims
+// 1/正向测试:
+//    []      功能点一:  测试struct 加一列/多列,列类型覆盖 string,int ,decimal, datetime, 
array<string> , map<int, string> , struct<a:int, b:string>

Review Comment:
   add `array<struct>`  cases:
   1. `array<struct<a1:int>> -> array<struct<a1:int, a2:int>>`      //  array 
nested struct
   2. `struct<array<struct<a1:int>>>` -> `struct<array<struct<a1:int, 
a2:int>>>`    // struct nested array
   3. struct<a1:int, a2: struct<a1:int>> -> struct<a1:int, a2: struct<a1:int, 
a2:string, a3: int>>        // multi columns in struct
   4.  struct<a1:struct<a1:int>, a2: struct<a1:int>> -> 
struct<a1:struct<a1:int, a2:int>, a2: struct<a1:int, a2:string>>   //  multi 
columns in  different struct
   
   and translate chinese comment to english



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to