xy720 commented on a change in pull request #4658:
URL: https://github.com/apache/incubator-doris/pull/4658#discussion_r495469350



##########
File path: 
fe/fe-core/src/main/java/org/apache/doris/load/loadv2/LoadingTaskPlanner.java
##########
@@ -182,6 +182,13 @@ public String getTimezone() {
             }
         }
 
+        // If this is a dynamic partitioned table, it will take some time to 
create the partition after the
+        // table is created, a exception needs to be thrown here
+        if (partitionIds.isEmpty()) {
+            throw new LoadException("data cannot be inserted into table with 
emtpy partition. " +

Review comment:
       ok. I will change the error msg. 




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

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