zfr9527 commented on code in PR #26506:
URL: https://github.com/apache/doris/pull/26506#discussion_r1384755721
##########
regression-test/plugins/plugins_create_table_nested_type.groovy:
##########
@@ -18,75 +18,125 @@
import org.apache.doris.regression.suite.Suite
// create table with nested data type, now default complex data include array,
map, struct
-Suite.metaClass.create_table_with_nested_type = { int maxDepth, String tbName
/* param */ ->
+Suite.metaClass.create_table_with_nested_type = { int maxDepth, def typeArr,
String tbName /* param */ ->
Suite suite = delegate as Suite
+ if (typeArr.size() != maxDepth) {
+ println("level not equal typeArr")
+ return
Review Comment:
Manual calls to the old code would have made errors, and the current code is
guaranteed not to make errors here
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]