sollhui commented on code in PR #58054:
URL: https://github.com/apache/doris/pull/58054#discussion_r2556883694


##########
regression-test/suites/load_p0/routine_load/test_routine_load.groovy:
##########
@@ -1105,58 +1105,46 @@ suite("test_routine_load","p0") {
     i = 0
     if (enabled != null && enabled.equalsIgnoreCase("true")) {
         try {
-            for (String tableName in tables) {
-                sql new 
File("""${context.file.parent}/ddl/${tableName}_drop.sql""").text
-                sql new 
File("""${context.file.parent}/ddl/${tableName}_create.sql""").text
+            // Use RANDOM distribution table for load_to_single_tablet test
+            def randomTableName = "dup_tbl_basic_random"
+            sql new 
File("""${context.file.parent}/ddl/${randomTableName}_drop.sql""").text
+            sql new 
File("""${context.file.parent}/ddl/${randomTableName}_create.sql""").text
 
-                def name = "routine_load_" + tableName
-                sql """
-                    CREATE ROUTINE LOAD ${jobs[i]} ON ${name}
-                    COLUMNS(${columns[i]}),
-                    COLUMNS TERMINATED BY "|"
-                    PROPERTIES
-                    (
-                        "load_to_single_tablet" = "true",
-                        "max_batch_interval" = "1",
-                        "max_batch_rows" = "300000",
-                        "max_batch_size" = "209715200"
-                    )
-                    FROM KAFKA
-                    (
-                        "kafka_broker_list" = "${externalEnvIp}:${kafka_port}",
-                        "kafka_topic" = "${topics[i]}",
-                        "property.kafka_default_offsets" = "OFFSET_BEGINNING"
-                    );
-                """
-                sql "sync"
-                i++
-            }
+            def name = "routine_load_" + randomTableName
+            sql """

Review Comment:
   This case is expected to throw an error.



-- 
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]

Reply via email to