You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2020/09/23 09:01:15 UTC

[GitHub] [incubator-doris] EmmyMiao87 commented on a change in pull request #4658: [Bug] Fix that the partitions of a dynamic-partitioned table has not been created at the time of load or insert

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



##########
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:
       It is best to guide users in the prompt to wait for a while because of dynamic partitioning




----------------------------------------------------------------
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:
users@infra.apache.org



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